summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/RecordLayout.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Replace the class offset vectors in RecordLayoutBuilder with maps instead so ↵Anders Carlsson2010-03-111-15/+11
| | | | | | we'll have faster lookup and so we can detect duplicates. llvm-svn: 98231
* Assert that primary bases always have offset 0.Anders Carlsson2010-03-111-0/+11
| | | | llvm-svn: 98223
* Replace copy loops with memcpy.Benjamin Kramer2010-03-091-4/+2
| | | | llvm-svn: 98055
* Allocate ASTRecordLayout objects using the allocator associated with ASTContext.Ted Kremenek2010-03-081-0/+69
This allows them to be allocated using a BumpPtrAllocated in the common case. llvm-svn: 97978
OpenPOWER on IntegriCloud