Remove extraneous space in MSVC-style diagnostic output
authorHans Wennborg <hans@hanshq.net>
Tue, 19 Feb 2019 16:58:25 +0000 (16:58 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 19 Feb 2019 16:58:25 +0000 (16:58 +0000)
commit27a7885228df4e449215679d1a063ddea00b6a27
treee898715dca180c91a13f40780b5ef643a51aa0b4
parenta94e6d70f14f903b47d361161bd2b6bbbe071f85
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
clang/lib/Frontend/TextDiagnostic.cpp
clang/test/Misc/diag-format.c