llvm-project/clang/lib/Serialization
Ben Langmuir d285c50390 Prevent outputting HeaderFileInfos for files not used as headers
When building an AST file, we don't want to output HeaderFileInfo
structures for files that are not actually used as headers in the
current context.  This can lead to assuming that unrelated files have
include counts of 0, defeating multiple-include prevention.

This is accomplished by adding an IsValid bit to the HFI.

llvm-svn: 203813
2014-03-13 16:46:36 +00:00
..
ASTCommon.cpp Make UsingShadowDecls redeclarable. This fixes some visibility problems with 2013-10-23 02:17:46 +00:00
ASTCommon.h Note when a decl is used in AST files. 2013-09-05 00:02:25 +00:00
ASTReader.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-13 02:13:41 +00:00
ASTReaderDecl.cpp Revert C++11ification in r203534 and r203536. Apparently our toolchains aren't 2014-03-11 07:17:35 +00:00
ASTReaderInternals.h Enhance the ObjC global method pool to record whether there were 0, 1, or >= 2 methods (with a particular selector) inside categories. 2013-04-17 00:08:58 +00:00
ASTReaderStmt.cpp [OPENMP] Clause 'num_threads' 2014-03-06 06:15:19 +00:00
ASTWriter.cpp Prevent outputting HeaderFileInfos for files not used as headers 2014-03-13 16:46:36 +00:00
ASTWriterDecl.cpp Renaming the chains() ranged iterator to chain() per suggestion by Richard Smith. 2014-03-07 18:36:15 +00:00
ASTWriterStmt.cpp [OPENMP] Clause 'num_threads' 2014-03-06 06:15:19 +00:00
CMakeLists.txt [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
GeneratePCH.cpp [libclang] Allow building a precompiled preamble with compiler errors 2013-06-11 00:36:55 +00:00
GlobalModuleIndex.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-13 02:13:41 +00:00
Makefile Reintroduce the serialization library, with fixed dependencies. 2010-08-17 20:43:28 +00:00
Module.cpp Revert C++11ification in r203534 and r203536. Apparently our toolchains aren't 2014-03-11 07:17:35 +00:00
ModuleManager.cpp [C++11] Remove a now unnecessary use of std::function for a remove_if 2014-03-03 19:36:27 +00:00