]> granicus.if.org Git - clang/commit
Fix fragile source-col-map.c test-case.
authorJames Y Knight <jyknight@google.com>
Thu, 4 Jun 2015 04:15:33 +0000 (04:15 +0000)
committerJames Y Knight <jyknight@google.com>
Thu, 4 Jun 2015 04:15:33 +0000 (04:15 +0000)
commitf53f665750106d5cb4720e65bc95aab6fca9db1b
tree3b36495013d0851e59b3596af6e06d77006121c0
parentef41dd75173df7a75c01942f398bfd112410254b
Fix fragile source-col-map.c test-case.

The test passing was dependent upon your source tree being checked out
in a directory with a long enough path, to cause the diagnostics to
wrap at the expected locations.

Use stdin instead, so that the error messages consistently use
<stdin> as the filename, and get wrapped consistently.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@239009 91177308-0d34-0410-b5e6-96231b3b80d8
test/Frontend/source-col-map.c