summaryrefslogtreecommitdiffstats
path: root/clang/AST
Commit message (Collapse)AuthorAgeFilesLines
...
* use the StmtNodes.def database to eliminate redundant code.Chris Lattner2006-11-042-34/+4
| | | | llvm-svn: 39118
* Add a new StmtNodes.def file as a catalog of all the Stmt's. This helpsChris Lattner2006-11-041-25/+3
| | | | | | eliminate repetitive code. llvm-svn: 39117
* implement ast nodes for while and do loopsChris Lattner2006-11-045-8/+41
| | | | llvm-svn: 39116
* pretty print strings more nicelyChris Lattner2006-11-041-1/+16
| | | | llvm-svn: 39114
* Add AST node, AST building, actions, and printing for 'for' stmts.Chris Lattner2006-11-045-1/+40
| | | | llvm-svn: 39113
* Implement the rest of the printer, restoring parity of functionality.Chris Lattner2006-11-042-102/+140
| | | | llvm-svn: 39111
* start converting dumper to be a simple visitorChris Lattner2006-11-041-0/+194
| | | | llvm-svn: 39109
* make visit methods take a reference to a visitor instead of a pointer.Chris Lattner2006-11-042-127/+8
| | | | | | Remove all dump_impl methods from Stmt subclasses llvm-svn: 39108
* remove full locinfo AST nodes for now. They just clutter the implementationChris Lattner2006-11-044-79/+21
| | | | | | and should be implemented with an ASTBuilder subclass anyway. llvm-svn: 39107
* new fileChris Lattner2006-11-041-0/+46
| | | | llvm-svn: 39106
* implement visitor chaining.Chris Lattner2006-11-042-1/+2
| | | | llvm-svn: 39105
* add a new StmtVisitor class for traversing Stmt/Expr nodes.Chris Lattner2006-11-042-0/+29
| | | | llvm-svn: 39104
* Export the ASTBuilder class from the AST module.Chris Lattner2006-11-033-117/+134
| | | | llvm-svn: 39095
* Fix building after the pure virtual function name changed.Chris Lattner2006-10-281-2/+2
| | | | llvm-svn: 39075
* Fix these to allow clang to be in any dir.Chris Lattner2006-10-261-1/+1
| | | | llvm-svn: 39055
* add ast node for ifstmtChris Lattner2006-10-252-0/+18
| | | | llvm-svn: 39051
* Handle __extension__ as a unary operator if requested.Chris Lattner2006-10-252-1/+6
| | | | llvm-svn: 39050
* only add to LastInGroupList if at the top-level.Chris Lattner2006-10-251-1/+4
| | | | llvm-svn: 39049
* Make the driver print function bodies at -parse-print-astChris Lattner2006-10-253-5/+11
| | | | llvm-svn: 39048
* llvm has no EH by default, no need for these flags.Chris Lattner2006-10-251-1/+1
| | | | llvm-svn: 39047
* Make AST nodes for ReturnStmt's and CompoundStmtsChris Lattner2006-10-252-0/+51
| | | | llvm-svn: 39046
* Add new Stmt classChris Lattner2006-10-253-13/+32
| | | | llvm-svn: 39045
* Finish removing LexerToken from actions interfaceChris Lattner2006-10-251-24/+25
| | | | llvm-svn: 39044
* Start removing LexerToken from the actions interface.Chris Lattner2006-10-251-4/+6
| | | | llvm-svn: 39043
* Remove temporary codeChris Lattner2006-10-171-2/+0
| | | | llvm-svn: 38999
* implement action callbacks for almost all the stmts.Chris Lattner2006-10-161-1/+3
| | | | llvm-svn: 38993
* Changes through out the parser and actions/ast interface to return top-levelChris Lattner2006-10-162-17/+63
| | | | | | | | | | | | | | | | | | declarations through the asm streamer. For a testcase like: int G; int H, I, *J; int func() {} 'clang -parse-print-ast' prints: Read top-level decl: G Read top-level decl: H Read top-level decl: I Read top-level decl: J Read top-level decl: func llvm-svn: 38992
* start creating proper ast nodes for variables and functionsChris Lattner2006-10-152-4/+24
| | | | llvm-svn: 38991
* don't abortChris Lattner2006-10-061-2/+2
| | | | llvm-svn: 38965
* Initial support for semantic analysis and AST building for StringExpr nodes.Chris Lattner2006-10-063-6/+56
| | | | llvm-svn: 38960
* Build AST's for sizeof/alignof with type operands.Chris Lattner2006-08-242-0/+23
| | | | llvm-svn: 38951
* Build CastExpr AST nodesChris Lattner2006-08-242-0/+21
| | | | llvm-svn: 38950
* Build AST's for sizeof/alignof an expr.Chris Lattner2006-08-242-10/+14
| | | | llvm-svn: 38949
* switch MemberExpr to holding a field decl instead of a raw identifier.Chris Lattner2006-08-242-3/+9
| | | | llvm-svn: 38948
* Allow expression actions to failChris Lattner2006-08-241-40/+40
| | | | llvm-svn: 38947
* more comments.Chris Lattner2006-08-241-0/+7
| | | | llvm-svn: 38945
* Add initial support for simple-primary exprs, including DeclExprs.Chris Lattner2006-08-242-0/+23
| | | | llvm-svn: 38944
* Add AST nodes for array, call, . and ->.Chris Lattner2006-08-242-8/+103
| | | | llvm-svn: 38943
* Add AST nodes and actions for paren exprs and simple unary ops.Chris Lattner2006-08-232-1/+178
| | | | llvm-svn: 38940
* Add (basic) expression AST representation capabilities for ↵Chris Lattner2006-08-232-8/+97
| | | | | | | | | int/fp/binops/condexpr. Add callbacks for same. Add "full locinfo" mode. llvm-svn: 38939
* Implement first cut of ASTBuilder class.Chris Lattner2006-08-182-5/+77
| | | | llvm-svn: 38938
* Hook up more of the ASTStreamerChris Lattner2006-08-171-3/+11
| | | | llvm-svn: 38936
* Stub out the ASTStreamerChris Lattner2006-08-171-0/+67
| | | | llvm-svn: 38935
* add ast libraryChris Lattner2006-08-171-0/+22
| | | | llvm-svn: 38934
* Start adding support for printing out parser callbacks and adding ast buildingChris Lattner2006-08-171-0/+15
llvm-svn: 38933
OpenPOWER on IntegriCloud