clang-1/lib/AST
Chris Lattner 2b334bb312 make our existing "switch on bool" warning work for C. Since
the result of comparisons are 'int' in C, it doesn't work to
test just the result type of the expression.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101576 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-16 23:34:13 +00:00
..
APValue.cpp Convert the type of the LValue offset variable in APValue to CharUnits, moving 2010-01-15 12:37:54 +00:00
ASTConsumer.cpp Push DeclGroup much farther throughout the compiler. Now the various 2009-03-29 16:50:03 +00:00
ASTContext.cpp Add encoding of reference types like gcc does for objc methods and 2010-04-13 23:45:47 +00:00
ASTDiagnostic.cpp Create a new InjectedClassNameType to represent bare-word references to the 2010-03-10 03:28:59 +00:00
ASTImporter.cpp Fixes a regression caused by implementing cstyle methods 2010-04-09 15:40:42 +00:00
AttrImpl.cpp Add support for the weakref attribute. We still produce "alias weak" as llvm-gcc does, but are more strict on what uses of weakref we accept. 2010-02-23 22:00:30 +00:00
CMakeLists.txt Sort calls to add_clang_library() 2010-03-22 18:16:06 +00:00
CXXInheritance.cpp Implement computation of the final overriders for each virtual 2010-03-23 23:47:56 +00:00
Decl.cpp Fix an embarrasing memory error. I was apparently very tired when I wrote this 2010-04-13 22:18:28 +00:00
DeclBase.cpp Remove the AST statistics tracking I added yesterday; it didn't pan out. 2010-03-31 18:21:31 +00:00
DeclCXX.cpp Have the CXXBaseOrMemberInitializer keep track of whether an initializer initializes a virtual base or not. 2010-04-12 00:51:03 +00:00
DeclFriend.cpp Implement basic support for friend types and functions in non-dependent 2010-03-12 01:19:31 +00:00
DeclGroup.cpp Add 'DeclStmt::DoDestroy()' which doesn't actually recurse over its child expressions (via StmtIterator), as those expressions are owned by the Decls and Types (which are destroyed elsewhere). This fixes a crasher reported in <rdar://problem/7487294>. 2009-12-23 08:56:00 +00:00
DeclObjC.cpp Implement method type encoding in the presense 2010-04-08 21:29:11 +00:00
DeclPrinter.cpp Rework base and member initialization in constructors, with several 2010-01-31 09:12:51 +00:00
DeclTemplate.cpp Create a new InjectedClassNameType to represent bare-word references to the 2010-03-10 03:28:59 +00:00
DeclarationName.cpp Switch the standard DeclarationName comparator to be a tri-valued comparator. 2010-02-13 01:04:05 +00:00
Expr.cpp make our existing "switch on bool" warning work for C. Since 2010-04-16 23:34:13 +00:00
ExprCXX.cpp Use CXXPseudoDestructorExpr as the stored representation for dependent 2010-02-25 01:56:36 +00:00
ExprConstant.cpp Teach HasSideEffect about InitListExprs. Not having 2010-04-13 17:34:23 +00:00
FullExpr.cpp More work on the FullExpr class. 2009-12-16 06:10:22 +00:00
InheritViz.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
Makefile Allow users to set CPPFLAGS and CXXFLAGS on the make command line. 2010-03-12 22:55:16 +00:00
NestedNameSpecifier.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
ParentMap.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
RecordLayout.cpp Replace the class offset vectors in RecordLayoutBuilder with maps instead so we'll have faster lookup and so we can detect duplicates. 2010-03-11 04:10:39 +00:00
RecordLayoutBuilder.cpp Remove printfs. 2010-04-16 15:59:41 +00:00
RecordLayoutBuilder.h More work on wide bit-fields, WIP. 2010-04-16 15:57:11 +00:00
Stmt.cpp fix PR6780, properly handling the IR {|} escapes in inline asm strings. 2010-04-05 18:44:00 +00:00
StmtDumper.cpp Dump the constructor type for a CXXConstructExpr. 2010-02-02 19:03:45 +00:00
StmtIterator.cpp Add StmtIterator support for iterating over both the condition 2009-12-23 23:38:34 +00:00
StmtPrinter.cpp Use CXXPseudoDestructorExpr as the stored representation for dependent 2010-02-25 01:56:36 +00:00
StmtProfile.cpp Add an CXXBindReferenceExpr (not used just yet). 2010-01-29 02:39:32 +00:00
StmtViz.cpp Adapt to the DOTGraphTraits changes in LLVM. 2009-11-30 14:16:05 +00:00
TemplateBase.cpp DeclaratorInfo -> TypeSourceInfo. Makes an effort to rename associated variables, 2009-12-07 02:54:59 +00:00
TemplateName.cpp When a template (without arguments) is passed as a template type 2010-04-08 00:03:06 +00:00
Type.cpp Change the representation of dependent elaborated-type-specifiers 2010-03-31 22:19:08 +00:00
TypeLoc.cpp float, double, and long double do need extra data in the 2010-01-18 20:37:56 +00:00
TypePrinter.cpp Extend the type printing policy to allow one to turn off the printing 2010-04-05 21:25:31 +00:00