llvm-project/clang/lib/AST
Ken Dyck ecfc75529f Make the Size and DataSize members more CharUnits-friendly by wrapping them
with getter and setter methods in both bit units and CharUnits. This will help
simplify some of the unit mismatch in the parts of the code where sizes are
known to be exact multiples of the width of the char type.

Assertions in the getters help guard against accidentally converting to
CharUnits when sizes are not exact multiples of the char width.

llvm-svn: 126354
2011-02-24 01:13:28 +00:00
..
APValue.cpp Fix -Wcast-qual warnings. 2010-04-19 16:39:44 +00:00
ASTConsumer.cpp Reintroduce the ASTConsumer/ASTUnit fix from r110610, it has nothing to do with the breakage. 2010-08-11 18:52:41 +00:00
ASTContext.cpp Emit the structure layout of the block literal parameter to a block 2011-02-22 22:38:33 +00:00
ASTDiagnostic.cpp Implement the C++0x deduced 'auto' feature. 2011-02-20 03:19:35 +00:00
ASTImporter.cpp Implement the C++0x deduced 'auto' feature. 2011-02-20 03:19:35 +00:00
AttrImpl.cpp Generate Attr subclasses with TableGen. 2010-08-18 23:23:40 +00:00
CMakeLists.txt Add CMake dependencies so that LLVM_USED_LIBS order doesn't matter. 2011-02-11 23:46:38 +00:00
CXXABI.h Move isNearlyEmpty out into the ASTContext so it can be called from CodeGen as well. 2010-11-25 01:51:53 +00:00
CXXInheritance.cpp Fix some corner cases in the __is_base_of logic. 2011-01-28 22:02:36 +00:00
Decl.cpp Give ImplicitParamDecl a public constructor so that it can be allocated on 2011-02-22 22:25:56 +00:00
DeclBase.cpp Provide a Decl::getNonClosureContext to look through any "closure" (i.e. 2011-02-22 22:25:23 +00:00
DeclCXX.cpp Revert all of my commits that devirtualized the Decl hierarchy, which 2011-02-19 18:51:44 +00:00
DeclFriend.cpp Support C++ friend declarations for PCH. 2010-06-29 22:47:00 +00:00
DeclGroup.cpp I lied. Kill off a few more Destroy methods 2010-07-25 18:32:30 +00:00
DeclObjC.cpp Diagnose when accessing property in a class method and 2010-12-03 23:37:08 +00:00
DeclPrinter.cpp Step #2/N of __label__ support: keep pushing LabelDecl forward, 2011-02-17 20:34:02 +00:00
DeclTemplate.cpp Revert all of my commits that devirtualized the Decl hierarchy, which 2011-02-19 18:51:44 +00:00
DeclarationName.cpp Selector::getIdentifierInfoForSlot() can return NULL values, a fact 2011-02-18 22:29:55 +00:00
DumpXML.cpp Change QualType::getTypePtr() to return a const pointer, then change a 2011-01-19 06:33:43 +00:00
Expr.cpp Pseudo-revirtualize CallExpr::getSourceRange by making it follow the 2011-02-21 06:23:05 +00:00
ExprCXX.cpp Pseudo-revirtualize CallExpr::getSourceRange by making it follow the 2011-02-21 06:23:05 +00:00
ExprClassification.cpp Change the representation of GNU ?: expressions to use a different expression 2011-02-17 10:25:35 +00:00
ExprConstant.cpp Change the representation of GNU ?: expressions to use a different expression 2011-02-17 10:25:35 +00:00
InheritViz.cpp AST/InheritViz: Remove all internal uses of PathV1. 2011-01-15 21:43:57 +00:00
ItaniumCXXABI.cpp Convert RecordLayout::NonVirtualSize from bit units to CharUnits. 2011-02-01 01:52:10 +00:00
ItaniumMangle.cpp Mangling of undeduced 'auto' types, as specified by Itanium C++ ABI. 2011-02-21 20:10:02 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
Mangle.cpp For consistency, use llvm::raw_ostream in the rest of the mangle api. 2011-02-11 02:52:17 +00:00
MicrosoftCXXABI.cpp Convert RecordLayout::NonVirtualSize from bit units to CharUnits. 2011-02-01 01:52:10 +00:00
MicrosoftMangle.cpp Implement the C++0x deduced 'auto' feature. 2011-02-20 03:19:35 +00:00
NestedNameSpecifier.cpp Change QualType::getTypePtr() to return a const pointer, then change a 2011-01-19 06:33:43 +00:00
ParentMap.cpp Give some convenient idiomatic accessors to Stmt::child_range and 2011-02-13 04:07:26 +00:00
RecordLayout.cpp Convert RecordLayout::Alignment to CharUnits from bit units. No change in 2011-02-15 02:32:40 +00:00
RecordLayoutBuilder.cpp Make the Size and DataSize members more CharUnits-friendly by wrapping them 2011-02-24 01:13:28 +00:00
Stmt.cpp add one more case of mismatched input/output constraints. 2011-02-21 22:09:29 +00:00
StmtDumper.cpp implement basic support for __label__. I wouldn't be shocked if there are 2011-02-18 02:08:43 +00:00
StmtIterator.cpp Change QualType::getTypePtr() to return a const pointer, then change a 2011-01-19 06:33:43 +00:00
StmtPrinter.cpp Selector::getIdentifierInfoForSlot() can return NULL values, a fact 2011-02-18 22:29:55 +00:00
StmtProfile.cpp Change the representation of GNU ?: expressions to use a different expression 2011-02-17 10:25:35 +00:00
StmtViz.cpp Adapt to the DOTGraphTraits changes in LLVM. 2009-11-30 14:16:05 +00:00
TemplateBase.cpp Improve bool and char integral template argument printing in 2011-02-19 00:21:00 +00:00
TemplateName.cpp Introduce a new kind of TemplateName that captures a substituted 2011-01-15 06:45:20 +00:00
Type.cpp Implement the C++0x deduced 'auto' feature. 2011-02-20 03:19:35 +00:00
TypeLoc.cpp Implement the C++0x deduced 'auto' feature. 2011-02-20 03:19:35 +00:00
TypePrinter.cpp Implement the C++0x deduced 'auto' feature. 2011-02-20 03:19:35 +00:00