diff options
| author | Yunzhong Gao <Yunzhong_Gao@playstation.sony.com> | 2014-03-07 00:23:36 +0000 |
|---|---|---|
| committer | Yunzhong Gao <Yunzhong_Gao@playstation.sony.com> | 2014-03-07 00:23:36 +0000 |
| commit | 51d97fe62165ea4b963166d81fdc8decdf114159 (patch) | |
| tree | dc96504f2122bdfd05aeb6f49569f2fb4e5b15af /lib/CodeGen/ModuleBuilder.cpp | |
| parent | 894947e18e682f802276ea4041d932577eada01a (diff) | |
| download | clang-51d97fe62165ea4b963166d81fdc8decdf114159.tar.gz clang-51d97fe62165ea4b963166d81fdc8decdf114159.tar.bz2 clang-51d97fe62165ea4b963166d81fdc8decdf114159.tar.xz | |
The Visual Studio IDE changed behavior in VS2012. It used to be the case that
the clang diagnostic has to report a column number one less than the correct
value in order for the IDE to move the cursor to the expected location. This
behavior is changed in VS2012 and VS2013 so that the IDE is now expecting the
column number to match the actual source location.
Before: source(line, column-1): type: message
After: source(line, column): type: message
This patch changes -fdiagnostics-format=msvc to match the new VS2012 and VS2013
when fmsc-version is 1700 or greater.
Differential Revision: http://llvm-reviews.chandlerc.com/D2949
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203183 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
