- May 06, 2008
-
-
Steve Naroff authored
Several fixes to SemaInit.cpp. It's still not enabled (since it fails a few tests). Expect to enable it very soon. llvm-svn: 50688
-
- May 05, 2008
-
-
Fariborz Jahanian authored
properties declared in the protocol. llvm-svn: 50662
-
- May 02, 2008
-
-
Fariborz Jahanian authored
protocols into class's property list and performing semantics on them for while doing so. llvm-svn: 50587
-
Steve Naroff authored
Replace Sema::CheckInitializerListTypes() with a helper class (InitListChecker) that synthesizes implicit InitListExpr's when appropriate (see InitListExpr comments in Expr.h for more details). I also moved the code to SemaInit.cpp, to help reduce clutter in SemaDecl.cpp. NOTE: This work is incomplete and still fails many tests (as a result, it isn't enabled yet). Nevertheless, I wanted to check it in so I can work on it from home. llvm-svn: 50544
-
- May 01, 2008
-
-
Fariborz Jahanian authored
llvm-svn: 50508
-
- Apr 27, 2008
-
-
Argyrios Kyrtzidis authored
-NamespaceDecl for the AST -Checks for name clashes between namespaces and tag/normal declarations. This commit doesn't implement proper name lookup for namespaces. llvm-svn: 50321
-
- Apr 25, 2008
-
-
Nuno Lopes authored
comments on the ML will follow llvm-svn: 50262
-
- Apr 24, 2008
-
-
Fariborz Jahanian authored
its super class. This patch is incomplete. llvm-svn: 50228
-
- Apr 22, 2008
-
-
Chris Lattner authored
DeclContext *CtxDecl -> DeclContext *DeclCtx DeclContext *CD -> DeclContext *DC It makes the code more consistent." Patch by Zhongxing Xu! llvm-svn: 50105
-
- Apr 21, 2008
-
-
Douglas Gregor authored
llvm-svn: 50021
-
- Apr 19, 2008
-
-
Nate Begeman authored
llvm-svn: 49942
-
- Apr 18, 2008
-
-
Fariborz Jahanian authored
Mostly semantic checking in this patch. This is on going and incomplete. llvm-svn: 49882
-
- Apr 15, 2008
-
-
Fariborz Jahanian authored
llvm-svn: 49699
-
- Apr 13, 2008
-
-
Douglas Gregor authored
inheritance in C++. It'll parse the base-specifier list, e.g., class D : public B1, virtual public B2 { }; and do some of the simpler semantic checks (B1 and B2 are classes; they aren't unions or incomplete types, etc). llvm-svn: 49623
-
- Apr 12, 2008
-
-
Argyrios Kyrtzidis authored
llvm-svn: 49567
-
Fariborz Jahanian authored
llvm-svn: 49565
-
- Apr 11, 2008
-
-
Fariborz Jahanian authored
llvm-svn: 49539
-
Chris Lattner authored
shadowing, instead of threading it through the AST. This patch contributed by Argiris Kirtzidis! llvm-svn: 49520
-
Fariborz Jahanian authored
1) objc ivar processing is split out of ActOnField into its own ActOnIvar method. 2) the new objc ivar action takes visibility info directly, eliminating AllVisibilities in ParseObjCClassInstanceVariables. llvm-svn: 49506
-
- Apr 08, 2008
-
-
Chris Lattner authored
interaction for function parameters, fixing PR2046. Patch by Doug Gregor! llvm-svn: 49369
-
- Apr 07, 2008
-
-
Chris Lattner authored
While it is similar to the other compatibility predicates in ASTContext, it is not used by them and is different. In addition, greatly simplify ObjCQualifiedIdTypesAreCompatible and fix some canonical type bugs. Also, simplify my Type::getAsObjC* methods. llvm-svn: 49313
-
- Apr 06, 2008
-
-
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
-
- Apr 04, 2008
-
-
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 02, 2008
-
-
Steve Naroff authored
Change ObjCInterfaceDecl to inherit from NamedDecl (not TypeDecl). While ObjCInterfaceDecl is arguably a TypeDecl, it isn't a ScopedDecl. Since TypeDecl's are scoped, it makes sense to simply treat them as NamedDecl's. I could have fiddled a bit more with the hierarchy (in terms of creating a non-scoped TypeDecl), however this probably isn't worth the effort. I also finished unifying access to scope decl change by converting Sema::getObjCInterfaceDecl() to use Sema::LookupDecl(). This is much cleaner now:-) llvm-svn: 49107
-
Steve Naroff authored
Two changes to Sema::LookupDecl() interface. (1) Remove IdLoc (it's never used). (2) Add a bool to enable/disable lazy builtin creaation (defaults to true). This enables us to use LookupDecl() in Sema::isTypeName(), which is also part of this commit. To make this work, I changed isTypeName() to be a non-const member function. I'm not happy with this, however I fiddled with making LookupDecl() and friends const and it got ugly pretty quickly. We can certainly add it back if/when someone has time to fiddle with it. For now, I thought this simplification was more important than retaining the const-ness. llvm-svn: 49087
-
Steve Naroff authored
llvm-svn: 49066
-
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
-
- Mar 16, 2008
-
-
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
-
- Mar 13, 2008
-
-
Chris Lattner authored
Set the start of DeclStmt range. Right now the end is meaningless though. llvm-svn: 48330
-
- Mar 07, 2008
-
-
Nate Begeman authored
Generate CallingConv::Fast when fastcall attribute is present llvm-svn: 48017
-
- Mar 03, 2008
-
-
Chris Lattner authored
llvm-svn: 47837
-
- Feb 27, 2008
-
-
Ted Kremenek authored
llvm-svn: 47689
-
- Feb 26, 2008
-
-
Chris Lattner authored
Patch by Mike Stump! llvm-svn: 47582
-
- Feb 21, 2008
-
-
Nate Begeman authored
llvm-svn: 47451
-
Chris Lattner authored
llvm-svn: 47418
-
Chris Lattner authored
llvm-svn: 47415
-
- Feb 20, 2008
-
-
Nate Begeman authored
llvm-svn: 47410
-
- Feb 16, 2008
-
-
Anders Carlsson authored
llvm-svn: 47197
-
- Feb 10, 2008
-
-
Steve Naroff authored
Add a diagnostics helper to remove some redundant code. llvm-svn: 46936
-
- Feb 08, 2008
-
-
Steve Naroff authored
A bunch-o changes to fix <rdar://problem/5716046> incomplete implementation of ObjC class warning is incomplete As part of this fix, I made a low-level change to the text diagnostics machinery (to basically avoid printing duplicate source lines/carets when you have multiple diagnostics that refer to the same exact place). For now, this only happens with we don't have a source range (could be extended to support source ranges as well). llvm-svn: 46897
-