]> granicus.if.org Git - clang/commitdiff
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214002 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/DiagnosticRenderer.cpp

index cff32b852bf432def845faea7ed46a4a2ec858c6..bea85b04c3eb02b6e8a8efbeefd1603203e47cd1 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);
 }