- Apr 07, 2008
-
-
Chris Lattner authored
step towards fixing PR2189. llvm-svn: 49291
-
Chris Lattner authored
llvm-svn: 49289
-
Chris Lattner authored
when assertions are disabled. llvm-svn: 49288
-
Chris Lattner authored
some cases. llvm-svn: 49287
-
- Apr 06, 2008
-
-
Chris Lattner authored
llvm-svn: 49286
-
Chris Lattner authored
llvm-svn: 49262
-
Chris Lattner authored
-Renamed ContextDecl -> DeclContext -Removed DeclContext pointer from FieldDecl -EnumDecl inherits from DeclContext, instead of TagDecl Patch by Argiris Kirtzidis! llvm-svn: 49261
-
Chris Lattner authored
llvm-svn: 49257
-
- Apr 04, 2008
-
-
Steve Naroff authored
#1: To be consistent with FieldDecl::getContextDecl(), which serves the same purpose. #2: From my perspective, getContext() is too general (and used by several other classes for different purposes). llvm-svn: 49224
-
Seo Sanghyeon authored
llvm-svn: 49212
-
Chris Lattner authored
-Added ContextDecl (no TranslationUnitDecl) -ScopedDecl class has a ContextDecl member -FieldDecl class has a ContextDecl member, so that a Field or a ObjCIvar can be traced back to their RecordDecl/ObjCInterfaceDecl easily -FunctionDecl, ObjCMethodDecl, TagDecl, ObjCInterfaceDecl inherit from ContextDecl. With TagDecl as ContextDecl, enum constants have a EnumDecl as their context. -Moved Decl class to a "DeclBase.h" along with ContextDecl class -CurContext is handled by Sema llvm-svn: 49208
-
- Apr 03, 2008
-
-
Sam Bishop authored
llvm-svn: 49160
-
Sam Bishop authored
llvm-svn: 49142
-
Chris Lattner authored
llvm-svn: 49137
-
Sam Bishop authored
llvm-svn: 49135
-
- Apr 02, 2008
-
-
Chris Lattner authored
allowing them to be treated the same in some contexts. A suggestion for a better name is welcome :) llvm-svn: 49100
-
Chris Lattner authored
llvm-svn: 49080
-
Chris Lattner authored
First, we got several CVR propagation cases wrong, which Eli pointed out in PR2039. Second, we didn't propagate address space qualifiers correctly, leading to incorrect lowering of code in CodeGen/address-space.c. Third, we didn't uniformly propagate the specifier in the array to the pointer ("int[restrict 4]" -> "int *restrict"). This adds an ASTContext::getArrayDecayedType member that handles the non-trivial logic for this seemingly simple operation. llvm-svn: 49078
-
Chris Lattner authored
llvm-svn: 49075
-
Chris Lattner authored
llvm-svn: 49074
-
Steve Naroff authored
Fairly large "cleaup" related to changing ObjCCompatibleAliasDecl superclass (to inherit from NamedDecl, instead of ScopedDecl). - Added a DenseMap to associate an IdentifierInfo with the ObjCCompatibleAliasDecl. - Renamed LookupScopedDecl->LookupDecl and changed it's return type to Decl. Also added lookup for ObjCCompatibleAliasDecl's. - Removed Sema::LookupInterfaceDecl(). Converted clients to used LookupDecl(). - Some minor indentation changes. Will deal with ObjCInterfaceDecl and getObjCInterfaceDecl() in a separate commit... llvm-svn: 49058
-
- Apr 01, 2008
-
-
Chris Lattner authored
llvm-svn: 49042
-
- Mar 31, 2008
-
-
Chris Lattner authored
Fix objc ivar lookup. Ivar lookup should occur between lookup of method-local values and lookup of globals. Emulate this with some logic in the handling of Sema::ActOnIdentifierExpr. Two todo's left: 1) sema shouldn't turn a bare reference to an ivar into "self->ivar" in the AST. This is a hack. 2) The new ScopedDecl::isDefinedOutsideFunctionOrMethod method does not correctly handle typedefs and enum constants yet. llvm-svn: 48972
-
- Mar 17, 2008
-
-
Ted Kremenek authored
llvm-svn: 48460
-
Chris Lattner authored
like the rest of the classes. llvm-svn: 48434
-
- Mar 16, 2008
-
-
Chris Lattner authored
the allocation in the class, not in sema. llvm-svn: 48433
-
Chris Lattner authored
llvm-svn: 48432
-
Chris Lattner authored
llvm-svn: 48428
-
Chris Lattner authored
specified. Previously, the ctor would allocate memory for the list and then it would get filled in later. Move the allocation+filling in to be more consistent with other stuff, e.g. the addMethods method. llvm-svn: 48427
-
Chris Lattner authored
llvm-svn: 48426
-
Chris Lattner authored
llvm-svn: 48423
-
Chris Lattner authored
llvm-svn: 48410
-
Chris Lattner authored
llvm-svn: 48408
-
Chris Lattner authored
llvm-svn: 48406
-
Chris Lattner authored
llvm-svn: 48405
-
Chris Lattner authored
llvm-svn: 48404
-
Chris Lattner authored
allocation through ASTContext. llvm-svn: 48403
-
Chris Lattner authored
lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. The top level now enforces that all the libs are built before Driver, but we don't care what order the libs are built in. This speeds up parallel builds, particularly incremental ones. llvm-svn: 48402
-