Add a missing close quote in "while building module 'Foo:" diagnostic.
authorJordan Rose <jordan_rose@apple.com>
Sat, 26 Jul 2014 01:22:02 +0000 (01:22 +0000)
committerJordan Rose <jordan_rose@apple.com>
Sat, 26 Jul 2014 01:22:02 +0000 (01:22 +0000)
This isn't a real diagnostic kind, only a location note, and this form isn't even
used if the SourceManager can provide a valid presumed location. But still.

llvm-svn: 214002

clang/lib/Frontend/DiagnosticRenderer.cpp

index cff32b8..bea85b0 100644 (file)
@@ -509,6 +509,6 @@ DiagnosticNoteRenderer::emitBuildingModuleLocation(SourceLocation Loc,
     Message << "while building module '" << ModuleName << "' imported from "
             << PLoc.getFilename() << ':' << PLoc.getLine() << ":";
   else
-    Message << "while building module '" << ModuleName << ":";
+    Message << "while building module '" << ModuleName << "':";
   emitNote(Loc, Message.str(), &SM);
 }