llvm-project/clang/lib/Frontend
Argyrios Kyrtzidis 14c32e8894 [libclang] In ASTUnit::Parse copy the CompilerInvocation object instead of
modifying directly for the preamble.

This avoids an awful, hard to find, bug where "PreprocessorOpts.DisablePCHValidation = true"
would be persistent for subsequent reparses of the translation unit which would result
in defines, present in command-line but not in the PCH, being ignored.

Fixes rdar://9615399.

llvm-svn: 139512
2011-09-12 18:09:38 +00:00
..
ASTConsumers.cpp Add template instantiations to the output of -ast-dump. 2011-07-28 00:19:05 +00:00
ASTMerge.cpp Introduce a -cc1 option "-emit-module", that creates a binary module 2011-08-25 22:30:56 +00:00
ASTUnit.cpp [libclang] In ASTUnit::Parse copy the CompilerInvocation object instead of 2011-09-12 18:09:38 +00:00
CMakeLists.txt Add missing dependency 2011-09-06 02:08:40 +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 Always construct an ASTReader with a non-NULL ASTContext and 2011-09-02 00:26:20 +00:00
CompilerInvocation.cpp Treat the weak export of block runtime symbols as a deployment-target 2011-09-09 20:41:01 +00:00
CreateInvocationFromCommandLine.cpp Move ArrayRef to LLVM.h and eliminate now-redundant qualifiers, patch by Jon Mulder! 2011-07-23 17:14:25 +00:00
DependencyFile.cpp Change err_pp_file_not_found back to an Error; when it's a Warning, we suppress it in system headers. And it is not a good idea to suppress it in system headers. (This was originally changed in r134996 to implement -MG.) 2011-08-30 23:07:51 +00:00
FrontendAction.cpp Introduce a -cc1 option "-emit-module", that creates a binary module 2011-08-25 22:30:56 +00:00
FrontendActions.cpp Modules hide macro definitions by default, so that silly things like 2011-09-01 17:04:32 +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 remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00
InitHeaderSearch.cpp Some minor updates to the Linux search path handling for Slackware. Patch by Will Dietz. PR10692. 2011-08-29 18:56:43 +00:00
InitPreprocessor.cpp Only predefine the __EXCEPTIONS macro if C++ exceptions are turned on. 2011-09-12 15:17:19 +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 remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +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 Add a decl update when a static data member of a class template is instantiated in a different PCH than its containing class. Otherwise we get double definition errors. Fixes a Boost.MPL problem that affects Boost.Accumulators and probably a lot more of Boost. 2011-04-29 08:19:30 +00:00
PrintPreprocessedOutput.cpp Rename getInstantiationColumnNumber to getExpansionColumnNumber in both 2011-07-25 20:57:57 +00:00
TextDiagnosticBuffer.cpp Since multiple diagnostics can share one diagnostic client, have the client keeping track 2010-11-18 20:06:46 +00:00
TextDiagnosticPrinter.cpp Extract the emission of the diagnostic's location into a separate 2011-09-07 08:05:58 +00:00
VerifyDiagnosticsClient.cpp Reset FirstID (first diagnostic's file ID) to allow for invocations of the VerifyDiagnosticsClient on several input files. 2011-08-24 13:36:19 +00:00
Warnings.cpp Implement '-Weverything', which enables all warnings except those explicitly mapped to be ignored. 2011-08-18 01:12:56 +00:00