================
@@ -1710,11 +1713,11 @@ void CompilerInstance::createASTReader() {
}
bool CompilerInstance::loadModuleFile(
- StringRef FileName, serialization::ModuleFile *&LoadedModuleFile) {
+ ModuleFileName FileName, serialization::ModuleFile *&LoadedModuleFile) {
llvm::Timer Timer;
if (timerGroup)
- Timer.init("preloading." + FileName.str(), "Preloading " + FileName.str(),
- *timerGroup);
+ Timer.init("preloading." + std::string(FileName.str()),
----------------
benlangmuir wrote:
It feels like this should take a Twine, but not for this PR...
https://github.com/llvm/llvm-project/pull/185994
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits