- Jan 13, 2009
-
-
Fariborz Jahanian authored
to access a field of its type. llvm-svn: 62123
-
Douglas Gregor authored
llvm-svn: 62122
-
- Jan 12, 2009
-
-
Daniel Dunbar authored
llvm-svn: 62101
-
Anders Carlsson authored
llvm-svn: 62069
-
Nuno Lopes authored
make ScalarExprEmitter::EmitCompare() emit the expression with the correct type instead of always zext it to an int this fixes codegen of simple exprs in C++ like 'if (x != 0)' llvm-svn: 62060
-
- Jan 11, 2009
-
-
Anders Carlsson authored
llvm-svn: 62049
-
Anders Carlsson authored
llvm-svn: 62043
-
Anders Carlsson authored
llvm-svn: 62042
-
Anders Carlsson authored
llvm-svn: 62041
-
Steve Naroff authored
This completes the ObjCContainerDecl AST cleanup (for now). llvm-svn: 62037
-
- Jan 10, 2009
-
-
Steve Naroff authored
llvm-svn: 62031
-
Fariborz Jahanian authored
not merging protocol properties into the classes which use those protocols. With this patch, all my exceutable test pass again. llvm-svn: 62030
-
Fariborz Jahanian authored
coming from a protocol. llvm-svn: 62017
-
- Jan 09, 2009
-
-
Sebastian Redl authored
llvm-svn: 62008
-
Daniel Dunbar authored
llvm-svn: 62004
-
Douglas Gregor authored
filters the decls seen by decl_iterator with two criteria: the dynamic type of the declaration and a run-time predicate described by a member function. This simplifies EnumDecl, RecordDecl, and ObjCContainerDecl considerably. It has no measurable performance impact. llvm-svn: 61994
-
Daniel Dunbar authored
llvm-svn: 61993
-
Daniel Dunbar authored
crashes. llvm-svn: 61992
-
Steve Naroff authored
Add isa/cast/dyncast support for ObjCContainerDecl. Renamed classprop_iterator/begin/end to prop_iterator/begin/end (the class prefix was confusing). More simplifications to Sema::ActOnAtEnd()... Added/changed some FIXME's as a result of the above work. llvm-svn: 61988
-
Daniel Dunbar authored
matches llvm-gcc (?). llvm-svn: 61974
-
Daniel Dunbar authored
llvm-svn: 61973
-
- Jan 08, 2009
-
-
Steve Naroff authored
Convert clients to use the standard getDeclContext() API. Doug, thanks for the review! llvm-svn: 61935
-
Steve Naroff authored
- ObjCContainerDecl's (ObjCInterfaceDecl/ObjCCategoryDecl/ObjCProtocolDecl), ObjCCategoryImpl, & ObjCImplementation are all DeclContexts. - ObjCMethodDecl is now a ScopedDecl (so it can play nicely with DeclContext). - ObjCContainerDecl now does iteration/lookup using DeclContext infrastructure (no more linear search:-) - Removed ASTContext argument to DeclContext::lookup(). It wasn't being used and complicated it's use from an ObjC AST perspective. - Added Sema::ProcessPropertyDecl() and removed Sema::diagnosePropertySetterGetterMismatch(). - Simplified Sema::ActOnAtEnd() considerably. Still more work to do. - Fixed an incorrect casting assumption in Sema::getCurFunctionOrMethodDecl(), now that ObjCMethodDecl is a ScopedDecl. - Removed addPropertyMethods from ObjCInterfaceDecl/ObjCCategoryDecl/ObjCProtocolDecl. This passes all the tests on my machine. Since many of the changes are central to the way ObjC finds it's methods, I expect some fallout (and there are still a handful of FIXME's). Nevertheless, this should be a step in the right direction. llvm-svn: 61929
-
Fariborz Jahanian authored
gen issue fix. llvm-svn: 61901
-
- Jan 07, 2009
-
-
Fariborz Jahanian authored
method on 'super' receiver in a category implementation. Other simpler cases were working by accident. llvm-svn: 61880
-
- Jan 06, 2009
-
-
Fariborz Jahanian authored
to track down, easy to fix. This is on going. llvm-svn: 61817
-
Douglas Gregor authored
information for declarations that were referenced via a qualified-id, e.g., N::C::value. We keep track of the location of the start of the nested-name-specifier. Note that the difference between QualifiedDeclRefExpr and DeclRefExpr does have an effect on the semantics of function calls in two ways: 1) The use of a qualified-id instead of an unqualified-id suppresses argument-dependent lookup 2) If the name refers to a virtual function, the qualified-id version will call the function determined statically while the unqualified-id version will call the function determined dynamically (by looking up the appropriate function in the vtable). Neither of these features is implemented yet, but we do print out qualified names for QualifiedDeclRefExprs as part of the AST printing. llvm-svn: 61789
-
- Jan 05, 2009
-
-
Sebastian Redl authored
llvm-svn: 61747
-
Anders Carlsson authored
llvm-svn: 61661
-
- Jan 04, 2009
-
-
Anders Carlsson authored
When emitting the static variables we need to make sure that the order is preserved. Fix this by making StaticDecls a std::list which has O(1) random removal. llvm-svn: 61621
-
- Dec 26, 2008
-
-
Anton Korobeynikov authored
Patch by Ilya Okonsky llvm-svn: 61437
-
- Dec 22, 2008
-
-
Anders Carlsson authored
llvm-svn: 61324
-
- Dec 21, 2008
-
-
Anders Carlsson authored
llvm-svn: 61314
-
Anders Carlsson authored
llvm-svn: 61305
-
Anders Carlsson authored
llvm-svn: 61303
-
Anders Carlsson authored
llvm-svn: 61301
-
Eli Friedman authored
string. That said, we should probably try and track down the correct clobber lists for the targets that don't have them (PPC, ARM, and Sparc), so that we can generate correct code. llvm-svn: 61298
-
Anders Carlsson authored
llvm-svn: 61295
-
Douglas Gregor authored
which can refer to static data members, enumerators, and member functions as well as to non-static data members. Implement correct lvalue computation for member references in C++. Compute the result type of non-static data members of reference type properly. llvm-svn: 61294
-
Eli Friedman authored
warning by using an unsigned index. llvm-svn: 61292
-