- Aug 14, 2008
-
-
Steve Naroff authored
Fix ASTContext::getObjCEncodingForType() to limit the type info for structure bodies (mimics gcc's adhoc rules). This fixes <rdar://problem/6140902> clang ObjC rewriter: If a class contains a struct ivar with a lot of members, ... llvm-svn: 54777
-
Daniel Dunbar authored
getIntegerConstantExprValue where appropriate. llvm-svn: 54771
-
- Aug 11, 2008
-
-
Daniel Dunbar authored
- Kill unnecessary #includes in .cpp files. This is an automatic sweep so some things removed are actually used, but happen to be included by a previous header. I tried to get rid of the obvious examples and this was the easiest way to trim the #includes in one fell swoop. - We now return to regularly scheduled development. llvm-svn: 54632
-
Daniel Dunbar authored
- Drop {Decl.h,DeclObjC.h,IdentifierTable.h} from Expr.h - Moved Sema::getCurMethodDecl() out of line (dependent on ObjCMethodDecl via dyn_cast). llvm-svn: 54629
-
Daniel Dunbar authored
- Drop Expr.h,RecordLayout.h from ASTContext.h (for DeclBase.h and SourceLocation.h) - Move ASTContext constructor into implementation llvm-svn: 54627
-
- Aug 10, 2008
-
-
Steve Naroff authored
llvm-svn: 54617
-
Anders Carlsson authored
llvm-svn: 54615
-
Chris Lattner authored
llvm-svn: 54605
-
Argyrios Kyrtzidis authored
llvm-svn: 54604
-
Eli Friedman authored
now fixed in an alternate way. llvm-svn: 54598
-
Eli Friedman authored
anywhere near complete, but I don't know of any issues, and it can handle enough to allow removing the I-C-E pointer cast hack. llvm-svn: 54597
-
- Aug 09, 2008
-
-
Chris Lattner authored
an invalid struct decl. Thanks to Martin Doucha for the isIncompleteArrayType part of this patch. llvm-svn: 54592
-
Argyrios Kyrtzidis authored
No functionality change. llvm-svn: 54588
-
Argyrios Kyrtzidis authored
llvm-svn: 54587
-
Argyrios Kyrtzidis authored
llvm-svn: 54585
-
- Aug 08, 2008
-
-
Argyrios Kyrtzidis authored
llvm-svn: 54527
-
- Aug 07, 2008
-
-
Argyrios Kyrtzidis authored
llvm-svn: 54488
-
Ted Kremenek authored
Cleanup some processing with DeclStmt, and gradually start using the internal BumpPtrAllocator to allocator more of CFG's data structures. llvm-svn: 54433
-
Ted Kremenek authored
llvm-svn: 54429
-
Ted Kremenek authored
llvm-svn: 54428
-
- Aug 06, 2008
-
-
Ted Kremenek authored
When serializing DeclStmt, encode a bit indicating whether or not the DeclStmt owns the Decl. This is an interim solution. llvm-svn: 54410
-
Nico Weber authored
llvm-svn: 54381
-
- Aug 05, 2008
-
-
Ted Kremenek authored
Added decl_iterator to DeclStmt to provide an abstract interface to iterate over the ScopedDecls of a DeclStmt. Updated a few clients of DeclStmt::getNextDeclarator() to use decl_iterator instead. Will update other clients after additional testing. llvm-svn: 54368
-
Ted Kremenek authored
"the attached patch fixes some typos, 80 cols violations, etc. in comments." llvm-svn: 54328
-
- Aug 04, 2008
-
-
Chris Lattner authored
Finally fix PR2189. This makes a fairly invasive but important change to move getAsArrayType into ASTContext instead of being a method on type. This is required because getAsArrayType(const AT), where AT is a typedef for "int[10]" needs to return ArrayType(const int, 10). Fixing this greatly simplifies getArrayDecayedType, which is a good sign. llvm-svn: 54317
-
- Jul 27, 2008
-
-
Eli Friedman authored
llvm-svn: 54119
-
Ted Kremenek authored
Fix serialization for TypedefType by allowing TypedefType to access the internal CanonicalType stored in Type. The test case Serialization/stmt_exprs.c now passes. llvm-svn: 54117
-
Chris Lattner authored
with QualTypes and Types. llvm-svn: 54116
-
Chris Lattner authored
Serialization/stmt_exprs.c, but I don't know the right solution. Will fix when I get a chance to talk to Ted about it. llvm-svn: 54109
-
Chris Lattner authored
ASTContext::getCanonicalType instead (PR2189) llvm-svn: 54105
-
- Jul 26, 2008
-
-
Chris Lattner authored
of doing it directly. This is required for PR2189. llvm-svn: 54102
-
Chris Lattner authored
improve 'expression unused' diagnostics for stmtexprs. llvm-svn: 54098
-
Chris Lattner authored
llvm-svn: 54097
-
Chris Lattner authored
First, fix canonical type handling of these, since protocol qualified id's are always canonical. Next, enhance SemaType to actually make these when used (instead of int) allowing them to actually be used when appropriate. Finally remove a bunch of logic relating to the mishandling of canonical types with protocol-qual id's. This fixes rdar://5986251 llvm-svn: 54083
-
Chris Lattner authored
llvm-svn: 54075
-
-
Chris Lattner authored
llvm-svn: 54073
-
Daniel Dunbar authored
llvm-svn: 54071
-
- Jul 25, 2008
-
-
-
Ted Kremenek authored
llvm-svn: 53998
-