hanchenye-llvm-project/clang/lib/Frontend
Argyrios Kyrtzidis 429ec024f8 [PCH] When visiting preprocessed entities, make it possible to avoid deserializing
preprocessed entities that are #included in the range that we are interested.

This is useful when we are interested in preprocessed entities of a specific file, e.g
when we are annotating tokens. There is also an optimization where we cache the last
result of PreprocessingRecord::getPreprocessedEntitiesInRange and we re-use it if
there is a call with the same range as before.

rdar://10313365

llvm-svn: 142887
2011-10-25 00:29:50 +00:00
..
ASTConsumers.cpp Change operator<< for raw_ostream and NamedDecl to take a reference instead of a pointer. 2011-10-14 18:45:37 +00:00
ASTMerge.cpp Rename Diagnostic to DiagnosticsEngine as per issue 5397 2011-09-25 23:23:43 +00:00
ASTUnit.cpp [PCH] When visiting preprocessed entities, make it possible to avoid deserializing 2011-10-25 00:29:50 +00:00
CMakeLists.txt Graduate the TextDiagnostic interface to its own header and source file, 2011-10-15 23:43:53 +00:00
CacheTokens.cpp remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00
CompilerInstance.cpp lib/Frontend/CompilerInstance.cpp: Suppress a "Comparision of unsigned and signed" warning on Cygwin gcc-4.3.4. 2011-10-08 11:31:58 +00:00
CompilerInvocation.cpp Make -fms-compatibility imply -fms-extensions. Fixes PR11204. 2011-10-24 15:27:23 +00:00
CreateInvocationFromCommandLine.cpp Rip out flags for controlling C++ "production mode" separately. 2011-10-04 05:34:14 +00:00
DependencyFile.cpp For the FileChanged Preprocessor callback, when exiting a file, pass its FileID. 2011-10-11 17:29:44 +00:00
FrontendAction.cpp Rename Diagnostic to DiagnosticsEngine as per issue 5397 2011-09-25 23:23:43 +00:00
FrontendActions.cpp Don't translate CRLF files into LF files. Fixes PR6870, from Aaron Ballman! 2011-09-23 23:43:36 +00:00
FrontendOptions.cpp remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00
HeaderIncludeGen.cpp For the FileChanged Preprocessor callback, when exiting a file, pass its FileID. 2011-10-11 17:29:44 +00:00
InitHeaderSearch.cpp Frontend: Replace -nostdinc by -nostdsysteminc (which is just system include 2011-10-11 18:20:10 +00:00
InitPreprocessor.cpp Define __STDC__ in -fms-extensions mode; defining it is consistent with gcc, and not defining it causes the system headers on multiple platforms to break with -fms-extensions because they assume the lack of a definition of __STDC__ implies a traditional (pre-ANSI) preprocessor. PR10324 and <rdar://problem/10313809> . 2011-10-19 23:46:05 +00:00
LangStandards.cpp remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00
LogDiagnosticPrinter.cpp Introduce a pure virtual clone() method to DiagnosticConsumer, so that 2011-09-29 00:38:00 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
MultiplexConsumer.cpp [PCH] Overhaul how preprocessed entities are [de]serialized. 2011-09-15 18:02:56 +00:00
PrintPreprocessedOutput.cpp For the FileChanged Preprocessor callback, when exiting a file, pass its FileID. 2011-10-11 17:29:44 +00:00
TextDiagnostic.cpp Switch to a more natural formatting of the macro name printing. 2011-10-24 18:51:08 +00:00
TextDiagnosticBuffer.cpp Introduce a pure virtual clone() method to DiagnosticConsumer, so that 2011-09-29 00:38:00 +00:00
TextDiagnosticPrinter.cpp Persist the TextDiagnostic object across multiple diagnostics as long as 2011-10-16 02:57:39 +00:00
VerifyDiagnosticConsumer.cpp Introduce a pure virtual clone() method to DiagnosticConsumer, so that 2011-09-29 00:38:00 +00:00
Warnings.cpp Basic/Diagnostic: Factor out 2011-09-29 00:53:47 +00:00