llvm-project/clang/lib/Frontend
Yunzhong Gao 820c687e9e 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

llvm-svn: 203183
2014-03-07 00:23:36 +00:00
..
ASTConsumers.cpp Remove -ast-dump-xml. 2013-10-07 20:56:34 +00:00
ASTMerge.cpp When building a module, forward diagnostics to the outer diagnostic consumer. 2013-05-03 22:58:43 +00:00
ASTUnit.cpp [C++11] Use std::atomic instead of LLVM's. 2014-03-02 17:08:31 +00:00
CMakeLists.txt [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
CacheTokens.cpp Recommit virtual file system 2014-02-20 21:59:23 +00:00
ChainedDiagnosticConsumer.cpp Remove spurious mode marker from .cpp file. 2012-10-29 06:05:01 +00:00
ChainedIncludesSource.cpp [ASTUnit] Fix use-after-free bug in ASTUnit::getMainBufferWithPrecompiledPreamble(). 2014-02-27 04:11:59 +00:00
CompilerInstance.cpp [C++11] Simplify a callback to use a lambda. 2014-03-04 21:50:01 +00:00
CompilerInvocation.cpp [OPENMP] Added option -fopenmp=libiomp5|libgomp 2014-03-06 05:43:53 +00:00
CreateInvocationFromCommandLine.cpp Move Compilation::PrintJob and PrintDiagnosticJob into Job::Print. 2013-09-12 18:23:34 +00:00
DependencyFile.cpp Update for llvm api change. 2014-02-24 18:20:21 +00:00
DependencyGraph.cpp Update for llvm api change. 2014-02-24 18:20:21 +00:00
DiagnosticRenderer.cpp When building a module from the command line via -emit-module, add an entry to 2014-03-05 20:55:36 +00:00
FrontendAction.cpp [ASTUnit] Fix use-after-free bug in ASTUnit::getMainBufferWithPrecompiledPreamble(). 2014-02-27 04:11:59 +00:00
FrontendActions.cpp When building a module from the command line via -emit-module, add an entry to 2014-03-05 20:55:36 +00:00
FrontendOptions.cpp Remove duplicated case. 2013-06-22 16:44:45 +00:00
HeaderIncludeGen.cpp Update for llvm api change. 2014-02-24 18:20:21 +00:00
InitHeaderSearch.cpp With the new update to the ABI, we should not look for installations 2013-12-12 20:30:41 +00:00
InitPreprocessor.cpp [OPENMP] Updated comments and _OPENMP macro value for OpenMP 4.0 (for 'omp simd' support) 2014-03-06 12:27:56 +00:00
LangStandards.cpp Remove unnecessary default cases in switches over enums. 2012-01-17 02:30:50 +00:00
LayoutOverrideSource.cpp Excise <cctype> from Clang (except clang-tblgen) in favor of CharInfo.h. 2013-02-08 22:30:41 +00:00
LogDiagnosticPrinter.cpp Add 'remark' diagnostic type in 'clang' 2014-02-28 09:11:08 +00:00
Makefile
MultiplexConsumer.cpp Switch all uses of LLVM_OVERRIDE to just use 'override' directly. 2014-03-02 09:32:10 +00:00
PrintPreprocessedOutput.cpp Add 'remark' diagnostic type in 'clang' 2014-02-28 09:11:08 +00:00
SerializedDiagnosticPrinter.cpp Serialized diagnostic severity levels should be stable. 2014-03-03 18:29:52 +00:00
TextDiagnostic.cpp The Visual Studio IDE changed behavior in VS2012. It used to be the case that 2014-03-07 00:23:36 +00:00
TextDiagnosticBuffer.cpp TextDiagnosticBuffer: Fix copy-paste mistake in r197856 2013-12-23 07:47:48 +00:00
TextDiagnosticPrinter.cpp clang-cl: print diagnostics as "error(clang): foo" in /fallback mode 2013-09-24 00:08:55 +00:00
VerifyDiagnosticConsumer.cpp Revert "Don't require -re suffix on -verify directives with regexes." 2013-12-14 01:07:05 +00:00
Warnings.cpp Revert r177218. 2013-05-03 23:20:27 +00:00