summaryrefslogtreecommitdiffstats
path: root/clang/AST/DeclSerialization.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make a major restructuring of the clang tree: introduce a top-levelChris Lattner2008-03-151-463/+0
| | | | | | | | | | lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. The top level now enforces that all the libs are built before Driver, but we don't care what order the libs are built in. This speeds up parallel builds, particularly incremental ones. llvm-svn: 48402
* Switch over functiondecl. This makes it obvious that the ASTContextChris Lattner2008-03-151-1/+1
| | | | | | argument to Create should be first, not last. llvm-svn: 48397
* fix typosGabor Greif2008-03-061-1/+1
| | | | llvm-svn: 47995
* Put back the top-level asm code; all tests pass now.Anders Carlsson2008-02-081-0/+23
| | | | llvm-svn: 46868
* Back out 46855 for now, it causes test failures on Darwin.Anders Carlsson2008-02-081-23/+0
| | | | llvm-svn: 46867
* Handle top-level asm declarations.Anders Carlsson2008-02-071-0/+23
| | | | llvm-svn: 46855
* Add first pieces of support for parsing and representing Chris Lattner2008-01-121-0/+16
| | | | | | extern "C" in C++ mode. Patch by Mike Stump! llvm-svn: 45904
* Substituted all instances of the string "Objc" for "ObjC". This fixesTed Kremenek2008-01-071-2/+2
| | | | | | | some naming inconsistencies in the names of classes pertaining to Objective-C support in clang. llvm-svn: 45715
* Don't attribute in file headers anymore. See llvmdev for theChris Lattner2007-12-291-2/+2
| | | | | | discussion of this change. llvm-svn: 45410
* Updated serialization of ParmVarDecl to serialize out objcDeclQualifier.Ted Kremenek2007-12-131-5/+7
| | | | | | | Previously this field was serialized out in VarDecl (a parent class), but now the field belongs to ParmVarDecl. llvm-svn: 44989
* Moved ObjcDeclQualifier to ParmVarDecl from VarDecl.Fariborz Jahanian2007-12-131-3/+5
| | | | | | Ted, this change necessitates (de)/serialization of ParmVarDecl. llvm-svn: 44972
* Fixed bug in the serialization of FunctionDecls. We would incorrectlyTed Kremenek2007-11-161-5/+5
| | | | | | | query for the number of parameters for FunctionDecls that had type FunctionTypeNoProto. llvm-svn: 44191
* Fixed bug in serialization of EnumConstantDecl where we improperlyTed Kremenek2007-11-141-2/+2
| | | | | | | "default constructed" an APSInt. Fixed another bug in the same method where we did not allow the NextDeclarator to be NULL. llvm-svn: 44147
* Added QualType::ReadBackpatch to allow QualType initialization withTed Kremenek2007-11-141-2/+2
| | | | | | | | | | | | | | | backpatching. This original was available, but then we removed it. It is back again to help with deserialization of FieldDecls. Because FieldDecls are currently owned by RecordDecls, which are owned by a TagType, the type of the FieldDecl may not be deserialized prior to deserializing the FieldDecl. Thus backpatching solves the problem of constructing a FieldDecl that references a type that has not yet been deserialized. Simplified serialization of TagType to not require passing in the SerializedPtrID. Registration of the materialized type object is done after the CreateImpl method returns (as with other types). llvm-svn: 44143
* Added serialization of Union decls.Ted Kremenek2007-11-141-1/+2
| | | | llvm-svn: 44133
* Implemented serialization of EnumDecl and EnumConstantDecl.Ted Kremenek2007-11-141-2/+68
| | | | llvm-svn: 44127
* Implemented serialization of FieldDecls.Ted Kremenek2007-11-141-0/+21
| | | | llvm-svn: 44126
* Implemented serialization of RecordDecls. Changed serialization of TagType toTed Kremenek2007-11-141-0/+43
| | | | | | | have an owning pointer to the referred TagDecl. This should hopefully fix a bug where TagDecls (including decls from structs, etc.) were not serialized. llvm-svn: 44106
* Fixed bug in FunctionDecl serialization where we crashed when theTed Kremenek2007-11-131-7/+17
| | | | | | | FunctionDecl had decls for its parameters but still had greater than 0 arguments. llvm-svn: 44076
* Restructured serialization code for decls to make it cleaner, easier toTed Kremenek2007-11-131-114/+188
| | | | | | | understand, and batched the emission owned subobjects (using BatchEmitOwnedPtr) to get a smaller output bitcode size. llvm-svn: 44033
* Misc. serialization changes to ASTContext and Decls. SerializationTed Kremenek2007-11-061-6/+26
| | | | | | for ASTContext is still rapidly evolving. llvm-svn: 43774
* Implemented serialization of TypedefDecls.Ted Kremenek2007-11-051-1/+19
| | | | | | Fixed infinite recursion in VarDecl::InternalRead. llvm-svn: 43739
* Added skeleton for dispatch of Decl serialization.Ted Kremenek2007-11-051-2/+24
| | | | llvm-svn: 43737
* Added most of the boilerplate code for Decl serialization. Still a fewTed Kremenek2007-11-021-0/+117
| | | | | | key functions to implement. llvm-svn: 43648
* Simplified Serialization code for SourceLocation and SourceRange, andTed Kremenek2007-11-011-39/+5
| | | | | | | | | | | | | updated it to the recently updated Serialization API. Changed clients of SourceLocation serialization to call the appropriate new methods. Updated Decl serialization code to put new skeleton serialization code in place that is much better than the older trait-specialization approach. llvm-svn: 43625
* Added skeleton for Decl serialization.Ted Kremenek2007-10-251-0/+62
llvm-svn: 43361
OpenPOWER on IntegriCloud