summaryrefslogtreecommitdiffstats
path: root/clang/AST
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix backwards assert.Chris Lattner2007-11-081-1/+1
| | | | llvm-svn: 43894
* Implemented serialization of AddrLabelExpr.Ted Kremenek2007-11-081-5/+56
| | | | | | | | Implemented serialization of ConditionalOperator. Implemented serialization of StmtExpr. Fixed bug in serialization of IndirectGoto (did not properly serialize subexpression). llvm-svn: 43891
* Revised serialization of CaseStmt to emit all of the owned pointers (itsTed Kremenek2007-11-081-7/+4
| | | | | | subexpressions) all together in one block at the end. llvm-svn: 43862
* Implemented serialization of CompoundAssignOperator.Ted Kremenek2007-11-081-0/+23
| | | | llvm-svn: 43860
* Implemented serialization of UnaryOperator.Ted Kremenek2007-11-081-0/+18
| | | | llvm-svn: 43858
* Implemented serialization of CallExpr.Ted Kremenek2007-11-071-1/+21
| | | | llvm-svn: 43854
* Implemented serialization of ArraySubscriptExpr.Ted Kremenek2007-11-071-56/+75
| | | | | | | Added "using ..." for "Serializer" and "Deserializer" to reduce amount of typing for serialization methods. llvm-svn: 43849
* Implemented serialization of CastExpr.Ted Kremenek2007-11-071-0/+17
| | | | llvm-svn: 43848
* Implemented serialization of ImplicitCastExpr.Ted Kremenek2007-11-071-0/+15
| | | | llvm-svn: 43847
* Modified serialization of BinaryOperator and CaseStmt to use the newTed Kremenek2007-11-071-12/+10
| | | | | | | | BatchEmitOwnedPtrs() and BatchReadOwnedPtrs() methods. Modified serialization of all Stmts to start their own record in the bitstream. llvm-svn: 43846
* Implemented serialization of StringLiteral.Ted Kremenek2007-11-071-0/+33
| | | | llvm-svn: 43834
* Implemented serialization of ImaginaryLiteral.Ted Kremenek2007-11-071-0/+15
| | | | llvm-svn: 43833
* Implemented serialization of FloatingLiteral.Ted Kremenek2007-11-071-0/+17
| | | | llvm-svn: 43832
* Fixed an array overflow bug.Fariborz Jahanian2007-11-071-1/+1
| | | | llvm-svn: 43826
* Implemented serialization of CharacterLiteral.Ted Kremenek2007-11-071-0/+16
| | | | llvm-svn: 43824
* Implemented serialiation of PreDefinedExpr.Ted Kremenek2007-11-071-1/+17
| | | | llvm-svn: 43823
* Implemented serialization of ContinueStmt.Ted Kremenek2007-11-071-0/+12
| | | | llvm-svn: 43822
* Implemented serialization of IndirectGotoStmt.Ted Kremenek2007-11-071-0/+13
| | | | | | Added "FIXME" regarding the lack of source location information for IndirectGotoStmt. llvm-svn: 43821
* Implemented serialization of GotoStmt.Ted Kremenek2007-11-071-0/+17
| | | | llvm-svn: 43818
* Implemented serialization for ForStmt.Ted Kremenek2007-11-071-0/+20
| | | | llvm-svn: 43817
* Implemented serialization of DoStmt.Ted Kremenek2007-11-071-0/+16
| | | | llvm-svn: 43816
* Implemented serialization for WhileStmt.Ted Kremenek2007-11-071-0/+16
| | | | llvm-svn: 43815
* Implemented serialization of IfStmt.Ted Kremenek2007-11-071-0/+18
| | | | | | | Fixed declarations of several "directEmit" methods of classes that subclass Stmt that were missing a "virtual" keyword. llvm-svn: 43814
* Teach ASTContext::tagTypesAreCompatible() about the built-in ObjC types ↵Steve Naroff2007-11-071-0/+4
| | | | | | (Class and id), removing a bogus warning. llvm-svn: 43809
* Implemented serialization of SwitchStmt, CaseStmt, BreakStmt, DefaultStmt,Ted Kremenek2007-11-071-2/+92
| | | | | | and ParenExpr. llvm-svn: 43806
* AST for objective-c's @throw statement and its pretty-printing.Fariborz Jahanian2007-11-072-0/+17
| | | | llvm-svn: 43802
* Implemented serialization of LabelStmts.Ted Kremenek2007-11-071-0/+16
| | | | llvm-svn: 43800
* Fixed a pretty-printer bug whereby a @try statement with no @finally seg ↵Fariborz Jahanian2007-11-071-5/+4
| | | | | | faulted. llvm-svn: 43798
* Added serialization/deserialization of NullStmts.Ted Kremenek2007-11-071-1/+12
| | | | llvm-svn: 43797
* Added serialization/deserialization of DeclStmts.Ted Kremenek2007-11-071-36/+48
| | | | | | Reordered stmt serialization method implementations to be in alphabetical order. llvm-svn: 43796
* Overhauled serialization of statements. We no longer use specialized ↵Ted Kremenek2007-11-071-61/+103
| | | | | | | | | SerializeTrait<> classes, but methods in Stmt (like other objects we are serializing). Full serialization of all statements is not yet complete. llvm-svn: 43793
* Started work on new serialization approach within ASTContext toTed Kremenek2007-11-061-1/+106
| | | | | | | | | | | serialize Type objects in the order they are serialized in the Types vector. We also now rely on the methods within ASTContext to unique Type objects and handle the actual creation of Type objects (these are now called by the deserialization code). This approach solves some hairy issues with ownership of objects and allows us to naturally handle recursive types. llvm-svn: 43787
* QualType deserialization now requires that the underlying pointer typeTed Kremenek2007-11-061-1/+1
| | | | | | must be deserialized without requiring backpatching. llvm-svn: 43786
* Patch for objc2's property ASTs, as well as pretty-priting the ASTs.Fariborz Jahanian2007-11-061-0/+8
| | | | llvm-svn: 43778
* Misc. serialization changes to ASTContext and Decls. SerializationTed Kremenek2007-11-062-21/+41
| | | | | | 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
* For serialization of ASTContext, added special-casing of serializationTed Kremenek2007-11-051-2/+33
| | | | | | | | | of type sets when emitting complex types and pointer types that are also considered builtins. These types are automatically created in the ctor of ASTContext, and thus should not be serialized (was producing an error during deserialization). llvm-svn: 43733
* Add a method prototype slot/getter to the ObjCMessageExpr AST.Steve Naroff2007-11-031-4/+8
| | | | llvm-svn: 43666
* Implement rewrite rules for ObjC string constants.Steve Naroff2007-11-031-9/+6
| | | | llvm-svn: 43665
* pretty-print @try/@catch/@finally from AST as the validation of AST.Fariborz Jahanian2007-11-021-3/+31
| | | | llvm-svn: 43649
* Added most of the boilerplate code for Decl serialization. Still a fewTed Kremenek2007-11-021-0/+117
| | | | | | key functions to implement. llvm-svn: 43648
* AST build for @catch clause (this is work in progress).Fariborz Jahanian2007-11-011-3/+7
| | | | llvm-svn: 43628
* Simplified Serialization code for SourceLocation and SourceRange, andTed Kremenek2007-11-012-42/+8
| | | | | | | | | | | | | 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
* Bunch of class declarations for objective-c's @try-catch statement.Fariborz Jahanian2007-11-012-0/+24
| | | | llvm-svn: 43623
* Rename classes and collections that maintain record layout information.Devang Patel2007-11-011-8/+8
| | | | | | | Now, at AST level record info is maintained by ASTRecordLayout class. Now, at code gen level record info is maintained by CGRecordLayout class. llvm-svn: 43619
* Implemented serialization of QualTypes within ASTContext. ClarifiedTed Kremenek2007-11-011-2/+21
| | | | | | | | | ownership model of some type pointers. Added FIXMEs to serialization. Added comments to ASTContext indicating which variables we are intentionally *not* serializing. llvm-svn: 43618
* Remaining work to collect objective-c's type qualifiers and use them to encodeFariborz Jahanian2007-11-011-2/+21
| | | | | | method types. llvm-svn: 43617
* Changed serialization/deserialization of BuiltinTypes to explicitly serializeTed Kremenek2007-11-011-17/+53
| | | | | | | each type. This ensures that the order in which the types are serialized is clear and remains persistent. llvm-svn: 43615
* add support for vector type compatibility checking. Patch by Nate Begeman.Chris Lattner2007-11-011-1/+15
| | | | llvm-svn: 43604
OpenPOWER on IntegriCloud