Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge the ASTVector and ASTOwningVector templates, since they offered | Douglas Gregor | 2009-05-21 | 1 | -83/+0 |
| | | | | | | | | redundant functionality. The result (ASTOwningVector) lives in clang/Parse/Ownership.h and is used by both the parser and semantic analysis. No intended functionality change. llvm-svn: 72214 | ||||
* | Use v.data() instead of &v[0] when SmallVector v might be empty. | Jay Foad | 2009-05-21 | 1 | -1/+1 |
| | | | | llvm-svn: 72210 | ||||
* | Add a switch that allows disabling the smart pointers. | Sebastian Redl | 2009-01-22 | 1 | -0/+14 |
| | | | | | | | | | | Uncomment the define in Ownership.h to disable the smart pointers. Disabled, the smart pointers no longer contain a pointer to the action, and no longer have special destruction or copying semantics. They are, compiler willing, raw pointers or ActionResult equivalents. llvm-svn: 62767 | ||||
* | Rename move_convert to move_arg and move_res. The new names are less ↵ | Sebastian Redl | 2009-01-18 | 1 | -1/+1 |
| | | | | | | misleading (and shorter). llvm-svn: 62466 | ||||
* | Convert a few Stmt actions to smart pointers. | Sebastian Redl | 2008-12-21 | 1 | -1/+8 |
| | | | | llvm-svn: 61309 | ||||
* | Kick out the proof-of-concept ASTOwner and replace it with ASTOwningResult | Sebastian Redl | 2008-12-09 | 1 | -113/+0 |
| | | | | llvm-svn: 60791 | ||||
* | Lay the groundwork for converting the entire parser-sema chain to smart ↵ | Sebastian Redl | 2008-12-09 | 1 | -6/+6 |
| | | | | | | pointers. llvm-svn: 60782 | ||||
* | Consistently use smart pointers for stmt and expr nodes in parser local ↵ | Sebastian Redl | 2008-12-09 | 1 | -21/+90 |
| | | | | | | variables. llvm-svn: 60761 | ||||
* | Use RAII objects to ensure proper destruction of expression and statement ↵ | Sebastian Redl | 2008-11-25 | 1 | -0/+106 |
AST nodes in the parser in most cases, even on error. llvm-svn: 60057 |