- Mar 02, 2009
-
-
Daniel Dunbar authored
- No intended functionality change. llvm-svn: 65805
-
Mike Stump authored
block literal is causing the problem, instead of the vague reference to the entire block literal. llvm-svn: 65798
-
Douglas Gregor authored
need them to evaluate redeclarations or call a function that hasn't already been declared. We now keep a DenseMap of these locally-scoped declarations so that they are not visible but can be quickly found, e.g., when we're looking for previous declarations or before we go ahead and implicitly declare a function that's being called. Fixes PR3672. llvm-svn: 65792
-
- Mar 01, 2009
-
-
Anders Carlsson authored
llvm-svn: 65788
-
Mike Stump authored
llvm-svn: 65784
-
Chris Lattner authored
llvm-svn: 65782
-
rdar://problem/6248764Steve Naroff authored
Downgrade an error to a warning (for GCC compatibility). llvm-svn: 65779
-
Douglas Gregor authored
llvm-svn: 65777
-
rdar://problem/6619539Steve Naroff authored
Fix <rdar://problem/6619539> incompatible pointer types sending 'XCElementSpacer *', expected 'XCElement *' (not handling protocol signatures correctly?). - Reworked ASTContext::canAssignObjCInterfaces(). - Added ObjCProtocolDecl::lookupProtocolNamed(). llvm-svn: 65773
-
Ted Kremenek authored
llvm-svn: 65764
-
Ted Kremenek authored
llvm-svn: 65763
-
Daniel Dunbar authored
llvm-svn: 65762
-
Daniel Dunbar authored
exception typeinfo metadata, and a few other EH related types/functions. - No functionality change. llvm-svn: 65761
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 65760
-
Daniel Dunbar authored
llvm-svn: 65759
-
Chris Lattner authored
llvm-svn: 65757
-
Daniel Dunbar authored
llvm-svn: 65754
-
Anders Carlsson authored
llvm-svn: 65753
-
Anders Carlsson authored
llvm-svn: 65751
-
Anders Carlsson authored
llvm-svn: 65749
-
Anders Carlsson authored
llvm-svn: 65746
-
Chris Lattner authored
llvm-svn: 65745
-
Chris Lattner authored
"This patch uses the new ObjCImplDecl class to merge Sema::ImplMethodsVsClassMethods and Sema::ImplCategoryMethodsVsIntfMethods methods. And now, when clang check a class implementation to find unimplemented methods, it also checks all methods from the class extensions (unnamed categories). There is also a test case to check this warning. This patch contains also a minor update for ObjCImplDecl . getNameAsCString and getNameAsString now returns an empty string instead of crashing for unnamed categories." Patch by Jean-Daniel Dupas! llvm-svn: 65744
-
Anders Carlsson authored
llvm-svn: 65737
-
- Feb 28, 2009
-
-
Anders Carlsson authored
Fix invalid VLAs/VMs in Sema::ActOnVariableDeclarator, so that the variable will have the right type by the time the initializer is checked. This ensures that code like int a[(int)(1.0 / 1.0) = { 1 } will work. Eli, please review. llvm-svn: 65725
-
Steve Naroff authored
llvm-svn: 65718
-
Ted Kremenek authored
llvm-svn: 65717
-
Fariborz Jahanian authored
message to 'super' in a class method declared in cateogy (darwin specific). llvm-svn: 65709
-
Chris Lattner authored
notice because it was a negative test with a fix suggested by Jean-Daniel Dupas. Convert the test from a negative to a positive test to catch stuff like this. llvm-svn: 65708
-
Chris Lattner authored
llvm-svn: 65707
-
Chris Lattner authored
Niklas Larsson! llvm-svn: 65706
-
-
Chris Lattner authored
/// FIXME: Like ObjCImplementationDecl, this should not be a NamedDecl! /// FIXME: Introduce a new common base class for ObjCImplementationDecl and ObjCCategoryImplDecl It adds an IndentifierInfo ivar to the ObjCCategoryImplDecl, so it can inherits from Decl and not NamedDecl (I'm not sure about the memory management of this ivar). And now that both ObjCImplementationDecl and ObjCCategoryImplDecl have the same super classes, it allow creation of a common base class: ObjCImplDecl" Patch by Jean-Daniel Dupas! llvm-svn: 65703
-
Chris Lattner authored
llvm-svn: 65701
-
Chris Lattner authored
copies with memcpy instead of memmove. This matches what GCC does and if it causes a problem with a particular libc we can always fix it with a target hook. llvm-svn: 65699
-
Anders Carlsson authored
TargetInfo::validateAsmConstraint now takes a reference to the full constraints string. This will make it possible to support multi-character constraints. No functionality change (for now). llvm-svn: 65696
-
Steve Naroff authored
llvm-svn: 65695
-
rdar://problem/6451399Steve Naroff authored
- Move the 'LabelMap' from Sema to Scope. To avoid layering problems, the second element is now a 'StmtTy *', which makes the LabelMap a bit more verbose to deal with. - Add 'ActiveScope' to Sema. Managed by ActOnStartOfFunctionDef(), ObjCActOnStartOfMethodDef(), ActOnBlockStmtExpr(). - Changed ActOnLabelStmt(), ActOnGotoStmt(), ActOnAddrLabel(), and ActOnFinishFunctionBody() to use the new ActiveScope. - Added FIXME to workaround in ActOnFinishFunctionBody() (for dealing with C++ nested functions). llvm-svn: 65694
-
Gabor Greif authored
llvm-svn: 65689
-
Mike Stump authored
llvm-svn: 65688
-