Files
swift-mirror/include/swift/Serialization/ModuleFile.h
Roman Levenstein 6c71745453 Use std::function instead of llvm::function_ref for a callback field.
According to the documentation, llvm::function_ref is better suited for function parameters taking closures.
But in this case we need to store a closure in the callback field and then invoke it multiple times. Therefore it is more appropriate to use std::function for this purpose.
2016-10-08 02:53:50 -07:00

25 KiB