commit | 27a7885228df4e449215679d1a063ddea00b6a27 | [log] [tgz] |
---|---|---|
author | Hans Wennborg <hans@hanshq.net> | Tue Feb 19 16:58:25 2019 +0000 |
committer | Hans Wennborg <hans@hanshq.net> | Tue Feb 19 16:58:25 2019 +0000 |
tree | e898715dca180c91a13f40780b5ef643a51aa0b4 | |
parent | a94e6d70f14f903b47d361161bd2b6bbbe071f85 [diff] [blame] |
Remove extraneous space in MSVC-style diagnostic output There was an extra space between the file location and the diagnostic message: /tmp/a.c(1,12): warning: unused parameter 'unused' the tests didn't catch this due to FileCheck not running in --strict-whitespace mode. Reported by Marco: http://lists.llvm.org/pipermail/cfe-dev/2019-February/061326.html Differential revision: https://reviews.llvm.org/D58377 llvm-svn: 354351
diff --git a/clang/lib/Frontend/TextDiagnostic.cpp b/clang/lib/Frontend/TextDiagnostic.cpp index 0f7fb50..719e77e 100644 --- a/clang/lib/Frontend/TextDiagnostic.cpp +++ b/clang/lib/Frontend/TextDiagnostic.cpp
@@ -837,7 +837,7 @@ if (LangOpts.MSCompatibilityVersion && !LangOpts.isCompatibleWithMSVC(LangOptions::MSVC2015)) OS << ' '; - OS << ": "; + OS << ':'; break; }