summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/AstGuard.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge the ASTVector and ASTOwningVector templates, since they offeredDouglas Gregor2009-05-211-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 Foad2009-05-211-1/+1
| | | | llvm-svn: 72210
* Add a switch that allows disabling the smart pointers.Sebastian Redl2009-01-221-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 Redl2009-01-181-1/+1
| | | | | | misleading (and shorter). llvm-svn: 62466
* Convert a few Stmt actions to smart pointers.Sebastian Redl2008-12-211-1/+8
| | | | llvm-svn: 61309
* Kick out the proof-of-concept ASTOwner and replace it with ASTOwningResultSebastian Redl2008-12-091-113/+0
| | | | llvm-svn: 60791
* Lay the groundwork for converting the entire parser-sema chain to smart ↵Sebastian Redl2008-12-091-6/+6
| | | | | | pointers. llvm-svn: 60782
* Consistently use smart pointers for stmt and expr nodes in parser local ↵Sebastian Redl2008-12-091-21/+90
| | | | | | variables. llvm-svn: 60761
* Use RAII objects to ensure proper destruction of expression and statement ↵Sebastian Redl2008-11-251-0/+106
AST nodes in the parser in most cases, even on error. llvm-svn: 60057
OpenPOWER on IntegriCloud