]> granicus.if.org Git - clang/commit
Merging r354351:
authorHans Wennborg <hans@hanshq.net>
Wed, 20 Feb 2019 12:51:02 +0000 (12:51 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 20 Feb 2019 12:51:02 +0000 (12:51 +0000)
commit6a89449e559b3c6d2a5d9717d5ff1de9634c7d46
tree08ca0e4b1d61a99ee4ae6c69b28fa1962772860c
parent568228afc039a91f4baf7ffd6b49bd98b2057f86
Merging r354351:
------------------------------------------------------------------------
r354351 | hans | 2019-02-19 17:58:25 +0100 (Tue, 19 Feb 2019) | 12 lines

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
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_80@354459 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/TextDiagnostic.cpp
test/Misc/diag-format.c