summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclGroup.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Finish making AST BumpPtrAllocation runtime configurable (based on ↵Steve Naroff2009-01-271-2/+2
| | | | | | | | | | | -disable-free). snaroff% time ../../Release-Asserts/bin/clang INPUTS/Cocoa_h.m 0.179u 0.051s 0:00.23 95.6% 0+0k 0+0io 0pf+0w snaroff% time ../../Release-Asserts/bin/clang INPUTS/Cocoa_h.m -disable-free 0.169u 0.052s 0:00.22 95.4% 0+0k 0+0io 0pf+0w llvm-svn: 63153
* Remove many references to ASTContext::getAllocator(), replacing them with ↵Steve Naroff2009-01-271-1/+1
| | | | | | | | calls to the recently added placement new (which uses ASTContext's allocator for memory). Also added ASTContext::Deallocate(). This will simplify runtime replacement of ASTContext's allocator. Keeping the allocator private (and removing getAllocator() entirely) is also goodness. llvm-svn: 63135
* Fix incorrect release of Decl* array referenced by DeclGroup.Ted Kremenek2008-10-181-1/+1
| | | | | | Patch by Timo Sirainen! llvm-svn: 57772
* Add const_iterator to DeclGroup.Ted Kremenek2008-10-071-9/+12
| | | | | | Serialization for OwningDeclGroupRefs now works. llvm-svn: 57272
* Added prototype serialization code for DeclGroup.Ted Kremenek2008-10-061-0/+62
| | | | llvm-svn: 57222
* Modified DeclGroupRef to always load/store the internal pointer value as ↵Ted Kremenek2008-10-061-6/+7
| | | | | | Decl*. This hopefully will obviate any concerns with violating strict type-aliasing issues. llvm-svn: 57213
* Delete trailing white space. It's over 80 columns.Zhongxing Xu2008-09-271-1/+1
| | | | llvm-svn: 56749
* Use a union instead of a bunch of magic casts to implement a variant. This ↵Ted Kremenek2008-09-261-5/+5
| | | | | | removes the type-punning errors for DeclGroup. llvm-svn: 56708
* Added prototype implementation of the DeclGroup, DeclGroupRef, and ↵Ted Kremenek2008-09-251-0/+59
DeclGroupOwningRef classes. Documentation and testing are pending. llvm-svn: 56611
OpenPOWER on IntegriCloud