We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fe5cf3 commit 0a7d5e4Copy full SHA for 0a7d5e4
clang/lib/Frontend/CompilerInstance.cpp
@@ -390,8 +390,8 @@ void CompilerInstance::createFileManager() {
390
// Source Manager
391
392
void CompilerInstance::createSourceManager() {
393
- assert(Diagnostics && "FileManager needed for creating SourceManager");
394
- assert(FileMgr && "DiagnosticsEngine needed for creating SourceManager");
+ assert(Diagnostics && "DiagnosticsEngine needed for creating SourceManager");
+ assert(FileMgr && "FileManager needed for creating SourceManager");
395
SourceMgr = llvm::makeIntrusiveRefCnt<SourceManager>(getDiagnostics(),
396
getFileManager());
397
}
0 commit comments