llvm-project/clang/lib
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
..
AST Make the Size and DataSize members more CharUnits-friendly by wrapping them 2011-02-24 01:13:28 +00:00
Analysis Teach CFGBuilder about null pointer constants in conditionals, and how they can be used to prune branches. Fixes false null pointer dereference warning in PR 8183. 2011-02-23 05:11:46 +00:00
Basic Switch the VerifyDiagnosticsClient to use PresumedLocs now that they 2011-02-23 00:47:48 +00:00
CodeGen Fix type mismatch between property function that CGObjCGNU was returning and the one CGObjC was calling. Fixes bug r9294. 2011-02-23 14:05:31 +00:00
Driver improve support for SUSE Linux Enterprise Server 11 SP1 (x86_64). 2011-02-22 20:47:07 +00:00
Frontend Preserve what the user passed to -include when emitting .d files. Fixes PR8974! 2011-02-23 21:16:44 +00:00
FrontendTool Eliminate the internal command-line option for viewing inheritance in C++ classes, since it's only really worked for the trivial cases anyway due to lame pseudo-parsing of the class name. The viewInheritance() function is still available for use in the debugger, where this is far more useful 2011-02-17 19:04:40 +00:00
Headers Put targets on folders, if the IDE supports the feature. 2011-02-20 22:06:44 +00:00
Index Give some convenient idiomatic accessors to Stmt::child_range and 2011-02-13 04:07:26 +00:00
Lex Reimplement __pragma support using a TokenLexer 2011-02-22 13:49:06 +00:00
Parse Tweak the CXXScopeSpec API a bit, so that we require the 2011-02-24 00:49:34 +00:00
Rewrite Change the representation of GNU ?: expressions to use a different expression 2011-02-17 10:25:35 +00:00
Sema Tweak the CXXScopeSpec API a bit, so that we require the 2011-02-24 00:49:34 +00:00
Serialization Preserve what the user passed to -include when emitting .d files. Fixes PR8974! 2011-02-23 21:16:44 +00:00
StaticAnalyzer [analyzer] Remove unused functions from CheckerManager. 2011-02-24 01:05:37 +00:00
CMakeLists.txt [analyzer] Move the files in lib/StaticAnalyzer to lib/StaticAnalyzer/Core. 2011-02-08 22:30:36 +00:00
Makefile Chris Lattner has strong opinions about directory 2010-12-23 19:38:26 +00:00