hanchenye-llvm-project/clang/lib/Frontend
Eli Friedman 34ff0ea522 Add a proper algorithm to compute accurate source ranges for diagnostics with
caret locations and source ranges in macros.  Makes ranges more accurate
in some cases, and fixes an assertion failure.

Fixes <rdar://problem/12472249>.

llvm-svn: 167353
2012-11-03 03:36:51 +00:00
..
ASTConsumers.cpp Fix for -ast-dump-filter 2012-10-31 18:46:31 +00:00
ASTMerge.cpp Make DiagnosticOptions intrusively reference-counted, and make sure 2012-10-23 22:26:28 +00:00
ASTUnit.cpp When code-completing don't disable the preprocessing record if modules are enabled. 2012-11-02 22:18:44 +00:00
CMakeLists.txt clang/lib: [CMake] Update tblgen'd dependencies. 2012-07-27 06:18:33 +00:00
CacheTokens.cpp Switch PTH format from a 7 byte magic number to an 8 byte one, to avoid 2012-08-17 03:55:43 +00:00
ChainedDiagnosticConsumer.cpp Remove spurious mode marker from .cpp file. 2012-10-29 06:05:01 +00:00
ChainedIncludesSource.cpp Make DiagnosticOptions intrusively reference-counted, and make sure 2012-10-23 22:26:28 +00:00
CompilerInstance.cpp [PCH] Remove the stat cache from the PCH file. 2012-10-31 20:59:50 +00:00
CompilerInvocation.cpp Remove first argument from Arg::getValue; it's been unused since r105760. 2012-11-01 04:30:05 +00:00
CreateInvocationFromCommandLine.cpp Make DiagnosticOptions intrusively reference-counted, and make sure 2012-10-23 22:26:28 +00:00
DependencyFile.cpp For PPCallbacks::InclusionDirective() add a parameter for the module, whenever 2012-09-29 01:06:10 +00:00
DependencyGraph.cpp For PPCallbacks::InclusionDirective() add a parameter for the module, whenever 2012-09-29 01:06:10 +00:00
DiagnosticRenderer.cpp Add a proper algorithm to compute accurate source ranges for diagnostics with 2012-11-03 03:36:51 +00:00
FrontendAction.cpp [PCH] Remove the stat cache from the PCH file. 2012-10-31 20:59:50 +00:00
FrontendActions.cpp [modules] Consistently construct a buffer as input to build the module. 2012-10-10 02:12:39 +00:00
FrontendOptions.cpp
HeaderIncludeGen.cpp Basic: import SmallString<> into clang namespace 2012-02-05 02:13:05 +00:00
InitHeaderSearch.cpp Move HeaderSearchOptions into the Lex library, make it intrusively 2012-10-24 16:19:39 +00:00
InitPreprocessor.cpp Move PreprocessorOptions into the Lex library, and make it intrusively 2012-10-24 17:01:35 +00:00
LangStandards.cpp Remove unnecessary default cases in switches over enums. 2012-01-17 02:30:50 +00:00
LayoutOverrideSource.cpp Add missing cctype includes. 2012-08-10 10:58:18 +00:00
LogDiagnosticPrinter.cpp Make DiagnosticOptions intrusively reference-counted, and make sure 2012-10-23 22:26:28 +00:00
Makefile
MultiplexConsumer.cpp Replace MarkVarRequired with a more generic 2012-03-08 15:51:03 +00:00
PrintPreprocessedOutput.cpp Keep history of macro definitions and #undefs 2012-08-29 00:20:03 +00:00
SerializedDiagnosticPrinter.cpp Make DiagnosticOptions intrusively reference-counted, and make sure 2012-10-23 22:26:28 +00:00
TextDiagnostic.cpp Add a proper algorithm to compute accurate source ranges for diagnostics with 2012-11-03 03:36:51 +00:00
TextDiagnosticBuffer.cpp Basic: import SmallString<> into clang namespace 2012-02-05 02:13:05 +00:00
TextDiagnosticPrinter.cpp Make DiagnosticOptions intrusively reference-counted, and make sure 2012-10-23 22:26:28 +00:00
VerifyDiagnosticConsumer.cpp Change VerifyDiagnosticConsumer so that it *must* contain at least one "expected-*" directive. As a result, for test-cases that are not expected to generate any diagnostics, an additional directive "expected-no-diagnostics" has been implemented which can then be included in such test-cases. This new directive may not be used in conjunction with any other "expected-*" directive. 2012-10-19 12:49:32 +00:00
Warnings.cpp Use a .def file for most of the diagnostic options. 2012-10-23 23:11:23 +00:00