- 4a9eb26 Fix a use of an invalidated reference due to a hash map reallocating. by Sebastian Redl · 14 years ago
- b57a624 When chaining PCHs, only write PPRecords that don't come from PCH, and give them the correct IDs. Fixes a crash in XCode. by Sebastian Redl · 14 years ago
- 76dc889 When setting the globally-visible declarations for a particular by Douglas Gregor · 14 years ago
- 8db9fae Change source manager serialization to be less tied to the PCH model. by Sebastian Redl · 14 years ago
- 4ee5a6f Only preload SLocEntries after the entire PCH chain was loaded. by Sebastian Redl · 14 years ago
- 301c9b0 Reshuffle PerFileData's members to make more sense. by Sebastian Redl · 14 years ago
- f73c93f Macro definitions in AST files have their own IDs. by Sebastian Redl · 14 years ago
- 4ea884b Replace loops with SmallVector::append. by Benjamin Kramer · 14 years ago
- f84cde1 Fix a C++ PCH problem which was exposed by r113019. CXXBaseOrMemberInitializer's IsWritten and source order is not set. by Argyrios Kyrtzidis · 14 years ago
- 62c78d5 Rename *PendingImplicitInstantiations to *PendingInstantiations. No by Chandler Carruth · 14 years ago
- 2a7fb27 Move more stuff out of Sema.h. by John McCall · 14 years ago
- 6e50e00 AST reader support for having specializations of templates from earlier in the chain. by Sebastian Redl · 14 years ago
- 5f1e094 More header elimination. The goal of all this is to allow Parser to by John McCall · 14 years ago
- 7a1fad3 Remove a header dependency from Sema.h at the cost of some type safety. by John McCall · 14 years ago
- 5967d62 Add testcase for C++ chained PCH and fix the bugs it uncovered in name lookup. by Sebastian Redl · 14 years ago
- e1dde81 Read the UPDATE_VISIBLE record, and add its visible decls to the lookup tables. Also, free the lookup tables when destructing the ASTReader. by Sebastian Redl · 14 years ago
- 0ea8f7f Correctly initialize the visible decls pointer if there are no visible decls for a record. by Sebastian Redl · 14 years ago
- 8b12273 Baby step towards supporting namespaces in chained PCH. by Sebastian Redl · 14 years ago
- d226f65 DeclPtrTy -> Decl * by John McCall · 14 years ago
- a60786b Fix an issue with writing to PCH another included PCH, introduced by the "using an AST on-disk hash table for name lookup" commit. by Argyrios Kyrtzidis · 14 years ago
- 074dcc8 Use the AST on-disk hash table for name lookup inside a DeclContext. by Argyrios Kyrtzidis · 14 years ago
- 5d26768 Introduce the mechanism for building an AST on-disk hash table for name lookup inside a DeclContext but don't use it yet. by Argyrios Kyrtzidis · 14 years ago
- c8e5d51 serialization::TypeID is used with or without qualifiers, both as index and as index + qualifiers. by Argyrios Kyrtzidis · 14 years ago
- 0eca89e Share the common code of ComputeHash(Selector Sel) instead of keeping 2 copies in PCHReader and PCHWriter. by Argyrios Kyrtzidis · 14 years ago
- 501c103 Make sure to deallocate the identifier lookup tables and selector tables by Douglas Gregor · 14 years ago
- 8538e8d Rename pch namespace to serialization. by Sebastian Redl · 14 years ago
- f29f0a2 Rename stuff in PCHBitCodes.h by Sebastian Redl · 14 years ago
- 6ab7cd8 Rename the ASTReader header files. by Sebastian Redl · 14 years ago
- 904c9c8 Rename the ASTReader implementation files. by Sebastian Redl · 14 years ago[Renamed (99%) from lib/Serialization/PCHReader.cpp]
- 3c7f413 More PCH -> AST renaming. by Sebastian Redl · 14 years ago
- 571db7f Rename various classes from PCH to AST. by Sebastian Redl · 14 years ago
- c43b54c Rename PCHReader to ASTReader. by Sebastian Redl · 14 years ago
- 8572813 Reintroduce the serialization library, with fixed dependencies. by Sebastian Redl · 14 years ago[Renamed (99%) from lib/Frontend/PCHReader.cpp]
- 4557e47 Revert Sebastian's build-breaking patch. by Douglas Gregor · 14 years ago[Renamed (99%) from lib/Serialization/PCHReader.cpp]
- 93c9729 Create a new Serialization module that contains all the PCH code, and will contain all the module code in the future. Update the Makefiles, CMake projects and the Xcode project. I hope I did everything right for Xcode. No functionality change. by Sebastian Redl · 14 years ago[Renamed (99%) from lib/Frontend/PCHReader.cpp]
- 49b96d1 Change Sema's UnusedStaticFuncs to UnusedFileScopedDecls to allow also keeping track of unused file scoped variables. by Argyrios Kyrtzidis · 14 years ago
- 914ed9d Teach ASTUnit to hold on to the Sema object and ASTConsumer that are by Douglas Gregor · 14 years ago
- 0b17c61 Instead of modifying the ObjC AST to not modify existing declarations, teach chained PCH to overwrite declarations from earlier PCH files in dependent ones. Tell Sema to note when it changes AST nodes so that they have to be reserialized. Finally, the ObjCProtocolDecls created in forward decls, like the ObjCInterfaceDecls in @class forward decls, are not lexically part of the decl context; only the definition is. by Sebastian Redl · 14 years ago
- e737f50 Move Sema's headers into include/clang/Sema, renaming a few along the way. by Douglas Gregor · 14 years ago
- 646395b -Make TokenID of IdentifierInfo read-only, remove setTokenID(). by Argyrios Kyrtzidis · 14 years ago
- 27372b4 Reintroduce the ASTConsumer/ASTUnit fix from r110610, it has nothing to do with the breakage. by Sebastian Redl · 14 years ago
- deacbdc Speculatively revert r110610 " Make ObjCInterfaceDecl redeclarable, by Douglas Gregor · 14 years ago
- 74c730a - Make ObjCInterfaceDecl redeclarable, and create separate decl nodes for forward declarations and the definition. by Sebastian Redl · 14 years ago
- 8e706f4 Refactor into functions PCH reading/writing the CXXBaseOrMemberInitializers. No functionality change. by Argyrios Kyrtzidis · 14 years ago
- 4056680 Write various C++-specific records to chained PCHs. Tests will come later. by Sebastian Redl · 14 years ago
- 0e03638 Store the pending implicit instantiations in the PCH and perform them at the end of the translation unit that by Argyrios Kyrtzidis · 14 years ago
- 72b9057 Support #pragma weak for PCH. by Argyrios Kyrtzidis · 14 years ago
- fa78dec Bring stats for the method pool back. by Sebastian Redl · 14 years ago
- 725cd96 Implement per-file reading of the selector table. This disables statistics about method pool hits for the moment. by Sebastian Redl · 14 years ago
- e58aa89 When chaining, only write interesting selectors to the PCH. by Sebastian Redl · 14 years ago
- 5d05007 Store the IDs of selectors in the PCH file explicitly. by Sebastian Redl · 14 years ago
- 059612d Incomplete promotion of selector info to per-file data. by Sebastian Redl · 14 years ago
- a865005 Apart from storing/retrieving the previous redeclaration from PCH, also store/retrieve the most recent by Argyrios Kyrtzidis · 14 years ago
- be4ebcd Avoid writing a VTABLE_USES record in PCH if there are no entries. by Argyrios Kyrtzidis · 14 years ago
- d8c5abb Query only the latest version of an identifier in the PCH chain. Make sure this version holds the entire declaration chain. This is a much saner solution than trying to merge the info from all elements, and makes redeclarations work properly. Expand the declarations test case to cover more compliated cases. by Sebastian Redl · 14 years ago
- 76c38d3 Read/write in PCH Sema's StdNamespace and StdBadAlloc and use a LazyDeclPtr for them that will deserialize them when needed. by Argyrios Kyrtzidis · 14 years ago
- 29ee3a2 Refactor the way PCHReader tracks whether we are in recursive loading. by Argyrios Kyrtzidis · 14 years ago
- ffaab3e Make macro weirdness in chained PCH work. This required changing the way PCHReader and PCHWriter are initialized to correctly pick up all initializer. On the upside, this means that there is far less repetition in the dependent PCH now. by Sebastian Redl · 14 years ago
- a9f2368 Support extended vector types in chained PCH. by Sebastian Redl · 14 years ago
- 083abdf Record macros in dependent PCHs. Also add various info tables to dependent PCHs; tests for this to follow. by Sebastian Redl · 14 years ago
- d692af7 Update the list of lexical decls in the TU for chained PCHs. This makes -ast-print show the decls from the dependent PCH. by Sebastian Redl · 14 years ago
- fae3b2f Implement -fno-validate-pch at the -cc1 level, which suppresses most by Douglas Gregor · 14 years ago
- 681d723 - Fix recording of offsets of types in dependent PCHs. by Sebastian Redl · 14 years ago
- 5606220 Add source location information to C++ base specifiers. by Nick Lewycky · 14 years ago
- f2f0f03 Make declarations in the dependent PCH visible, for C at least. by Sebastian Redl · 14 years ago
- 3201983 PCH read/write for selector reference pool. Finishes off radar 6507158. by Fariborz Jahanian · 14 years ago
- 577d479 Thread bitstream cursors all the way through the AST reading stuff. This way, reading a trivial 2-element chained file actually works. by Sebastian Redl · 14 years ago
- 0fa7d0b Allow loading declcontext information from any file in the chain. Properly write source locations to dependent files. WIP by Sebastian Redl · 14 years ago
- d27d3fc Allow loading macros from any file in the chain. WIP by Sebastian Redl · 14 years ago
- 04e6fd4 Promote some macro-related stuff to per-file data. Fix a cache-inefficient nested loop by inverting the nesting. Store the size of each file in the chain; will need this later for statement offsets. by Sebastian Redl · 14 years ago
- 11f5ccf Allow loading identifiers from any file in the chain. WIP by Sebastian Redl · 14 years ago
- 971dd44 Apparently not every system thinks that references in pairs are as cool as I think. by Sebastian Redl · 14 years ago
- cb526aa Allow loading declarations from any file in the chain. WIP by Sebastian Redl · 14 years ago
- aaec0aa Allow loading types from any file in the chain. WIP by Sebastian Redl · 14 years ago
- 190faf7 Allow loading source locations from any file in the chain. WIP by Sebastian Redl · 14 years ago
- 518d8cb More work on getting PCHReader to handle multiple files. Promote SLocOffsets to per-file data. WIP by Sebastian Redl · 14 years ago
- 2da08f9 Promote IdentifierOffsets to per-file data. by Sebastian Redl · 14 years ago
- 12d6da0 Promote DeclOffsets and TypeOffsets to per-file data. by Sebastian Redl · 14 years ago
- 93fb9ed Promote the identifier table to per-file data. Also, if a CHAINED_METADATA record exists, it has to be the first thing in the PCH file. by Sebastian Redl · 14 years ago
- fbd4bf1 Teach the PCH reader to load the dependency when encountering a chain metadata record. WIP by Sebastian Redl · 14 years ago
- cdf3b83 Separate out the initial loading of a PCH so that loading chained PCHs can reuse it. by Sebastian Redl · 14 years ago
- 9137a52 First baby steps towards PCHReader being able to keep track of multiple PCH files. WIP by Sebastian Redl · 14 years ago
- 1476ed4 Add a little more data to chained PCHs. WIP by Sebastian Redl · 14 years ago
- c76c9e0 Suppress !+Asserts warning. by Daniel Dunbar · 14 years ago
- 30c514c Add a callback interface that allows interested parties to get notified whenever PCHReader deserializes a type or decl (and possibly other things in the future). Have PCHWriter implement these callbacks as noops and register to receive them if we're chaining PCHs. This will allow PCHWriter to track the IDs of these things, which it needs to write the dependent files. WIP by Sebastian Redl · 14 years ago
- ec1b1cc Pass StringRefs by value. by Benjamin Kramer · 14 years ago
- 07a353c Increase the max PCH level for declarations to 7. Add a FromPCH flag to types. by Sebastian Redl · 14 years ago
- 7e9ad8b Make PCHReader cope with PCH files containing more than one predefines buffer. by Sebastian Redl · 14 years ago
- a0068fc Introduce -f{no-}spell-checking options to enable/disable by Douglas Gregor · 14 years ago
- 8871a44 Introduce PCHReader::GetTranslationUnitDecl() and use it instead of ReadDeclRecord when initializing. by Argyrios Kyrtzidis · 14 years ago
- be19110 For TagType and TemplateSpecializationType, isDependent calculation may be invalid because some decls that the by Argyrios Kyrtzidis · 14 years ago
- d2bb2c0 Fix broken reading of NestedNameSpecifiers from PCH. by Argyrios Kyrtzidis · 14 years ago
- bb80a8e Delay passing InterestingDecls to the Consumer until when we know we are not in recursive loading and the by Argyrios Kyrtzidis · 14 years ago
- d455add Add to PCH missing Sema information about VTable uses and dynamic classes. by Argyrios Kyrtzidis · 14 years ago
- 400f512 Fix a regression of a previous commit of mine (rdar://8158953). by Argyrios Kyrtzidis · 14 years ago
- 0061138 Don't try to install the __[u]int128_t identifier if it is already installed by PCHReader. by Argyrios Kyrtzidis · 14 years ago
- 0745d0a Read/write CastExpr's CXXBaseSpecifierArray for PCH. by Argyrios Kyrtzidis · 14 years ago
- 37ffed3 Fully read/write CXXRecordDecl for PCH. by Argyrios Kyrtzidis · 14 years ago
- f48d45e Fix reading of DependentNameType. by Argyrios Kyrtzidis · 14 years ago
- 43921b5 Allow reading of InjectedClassNameType from PCH even when its decl is currently initializing. by Argyrios Kyrtzidis · 14 years ago