Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More ASTRecordLayout changes for MS ABI; based on patch by r4start. | Eli Friedman | 2011-10-21 | 1 | -1/+3 |
| | | | | llvm-svn: 142694 | ||||
* | Some changes to improve compatibility for MSVC-style C++ struct layout. ↵ | Eli Friedman | 2011-09-27 | 1 | -3/+9 |
| | | | | | | Patch from r4start at gmail.com (with some minor modifications by me). llvm-svn: 140623 | ||||
* | Convert RecordLayout::Alignment to CharUnits from bit units. No change in | Ken Dyck | 2011-02-15 | 1 | -2/+2 |
| | | | | | | functionality intended. llvm-svn: 125549 | ||||
* | Convert RecordLayout::DataSize to CharUnits from bits, eliminating two | Ken Dyck | 2011-02-11 | 1 | -2/+2 |
| | | | | | | | unnecessary calls to RoundUpToAlignment. No changes to functionality intended. llvm-svn: 125356 | ||||
* | Convert RecordLayout::Size to CharUnits from bits. No changes to | Ken Dyck | 2011-02-09 | 1 | -2/+2 |
| | | | | | | functionality intended. llvm-svn: 125156 | ||||
* | Convert RecordLayout::NonVirtualAlign to CharUnits. No change in | Ken Dyck | 2011-02-08 | 1 | -1/+1 |
| | | | | | | functionality intended. llvm-svn: 125069 | ||||
* | Convert RecordLayout::NonVirtualSize from bit units to CharUnits. | Ken Dyck | 2011-02-01 | 1 | -1/+1 |
| | | | | llvm-svn: 124646 | ||||
* | PR3558: mark "logically const" accessor methods in ASTContext as const, | Jay Foad | 2011-01-12 | 1 | -4/+5 |
| | | | | | | | and mark the fields they use as mutable. This allows us to remove a few const_casts. llvm-svn: 123314 | ||||
* | Remove the PrimaryBaseInfo class. | Anders Carlsson | 2010-11-24 | 1 | -2/+3 |
| | | | | llvm-svn: 120134 | ||||
* | Rename RecordLayout::getPrimaryBaseWasVirtual to isPrimaryBaseVirtual. | Anders Carlsson | 2010-11-24 | 1 | -1/+1 |
| | | | | llvm-svn: 120133 | ||||
* | Port over a couple of getVBaseClassOffsetInBits call sites to use ↵ | Anders Carlsson | 2010-10-31 | 1 | -1/+1 |
| | | | | | | getVBaseClassOffset instead. llvm-svn: 117882 | ||||
* | Rename getBaseClassOffset to getBaseClassOffsetInBits and introduce a ↵ | Anders Carlsson | 2010-10-31 | 1 | -2/+2 |
| | | | | | | getBaseClassOffset which returns the offset in CharUnits. Do the same thing for getVBaseClassOffset. llvm-svn: 117881 | ||||
* | EmptyObjectMap now uses CharUnits wherever possible. | Anders Carlsson | 2010-10-31 | 1 | -1/+1 |
| | | | | llvm-svn: 117877 | ||||
* | Plug leak. The DenseMaps of CXXRecordLayoutInfo weren't freed. | Argyrios Kyrtzidis | 2010-08-25 | 1 | -1/+3 |
| | | | | llvm-svn: 112006 | ||||
* | No need to use the PrimaryBaseInfo struct in the builder. | Anders Carlsson | 2010-05-26 | 1 | -2/+3 |
| | | | | llvm-svn: 104681 | ||||
* | Add a SizeOfLargestEmptySubobject member to ASTRecordLayout. For C++ classes ↵ | Anders Carlsson | 2010-05-08 | 1 | -0/+2 |
| | | | | | | this will hold the largest empty subobject or 0 if the class doesn't have any empty subobjects. llvm-svn: 103359 | ||||
* | Replace the class offset vectors in RecordLayoutBuilder with maps instead so ↵ | Anders Carlsson | 2010-03-11 | 1 | -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 Carlsson | 2010-03-11 | 1 | -0/+11 |
| | | | | llvm-svn: 98223 | ||||
* | Replace copy loops with memcpy. | Benjamin Kramer | 2010-03-09 | 1 | -4/+2 |
| | | | | llvm-svn: 98055 | ||||
* | Allocate ASTRecordLayout objects using the allocator associated with ASTContext. | Ted Kremenek | 2010-03-08 | 1 | -0/+69 |
This allows them to be allocated using a BumpPtrAllocated in the common case. llvm-svn: 97978 |