- Jul 25, 2008
-
-
Chris Lattner authored
llvm-svn: 54020
-
Chris Lattner authored
everything up front into a vector. This makes it easier to scan around the stream when needed. llvm-svn: 54019
-
Chris Lattner authored
llvm-svn: 54018
-
Steve Naroff authored
This fixes <rdar://problem/5988388> clang ObjC rewriter: mystery 'w' inserted in exception throw. llvm-svn: 54017
-
Steve Naroff authored
llvm-svn: 54013
-
Ted Kremenek authored
llvm-svn: 54012
-
Ted Kremenek authored
This fixes PR 2573: http://llvm.org/bugs/show_bug.cgi?id=2573 llvm-svn: 54009
-
Ted Kremenek authored
llvm-svn: 54008
-
Daniel Dunbar authored
- Fix multiple issues with the way case ranges were emitted, see test cases details about the specific issues. - The root issue was not being careful about how basic blocks were emitted which led to them being chained together incorrectly, resulting in improper control flow. - Fixes <rdar://problem/6098585> llvm-svn: 54006
-
Daniel Dunbar authored
llvm-svn: 54005
-
Ted Kremenek authored
Use ASTContext::isObjCObjectPointerType() to check if an ivar is a reference to an Objective-C object. llvm-svn: 53999
-
Ted Kremenek authored
llvm-svn: 53998
-
Ted Kremenek authored
llvm-svn: 53995
-
- Jul 24, 2008
-
-
Steve Naroff authored
This fixes a critical rewriter bug (<rdar://problem/6096760> clang ObjC rewriter: 'self' not expected value in class method called with 'super'). Also added a couple FIXME's since I'm not happy with my fix to Sema. It would be nicer if the super handling for class/instance messages was the same (based on PreDefinedExpr). llvm-svn: 53994
-
Ted Kremenek authored
This fixes: http://llvm.org/bugs/show_bug.cgi?id=2593 llvm-svn: 53993
-
Ted Kremenek authored
llvm-svn: 53992
-
Ted Kremenek authored
This fixes PR 2592: http://llvm.org/bugs/show_bug.cgi?id=2592 llvm-svn: 53987
-
Daniel Dunbar authored
llvm-svn: 53986
-
Ted Kremenek authored
llvm-svn: 53984
-
Ted Kremenek authored
llvm-svn: 53983
-
Ted Kremenek authored
llvm-svn: 53977
-
Ted Kremenek authored
Patch by Zhongxing Xu! llvm-svn: 53976
-
Daniel Dunbar authored
- Also cleaned up emission slightly - Inspection of the code revealed several other bugs, however. Case ranges are not properly wired and can result in switch cases being dropped or even infinite loops. See: <rdar://problem/6098585> Completes: <rdar://problem/6094119> llvm-svn: 53975
-
Daniel Dunbar authored
- For getting an APSInt from a known integer constant Expr. - TODO: Many users of Expr::isIntegerConstantExpr in codegen should probably be using this instead... llvm-svn: 53974
-
Ted Kremenek authored
llvm-svn: 53969
-
Ted Kremenek authored
llvm-svn: 53966
-
Ted Kremenek authored
llvm-svn: 53965
-
Ted Kremenek authored
Don't flag dead stores when the result of a preincrement/predecrement is used in an enclosing expression. llvm-svn: 53964
-
Ted Kremenek authored
llvm-svn: 53963
-
- Jul 23, 2008
-
-
Ted Kremenek authored
llvm-svn: 53962
-
Ted Kremenek authored
llvm-svn: 53960
-
Ted Kremenek authored
Refine the error message of unused ivars. Added test case. llvm-svn: 53957
-
Ted Kremenek authored
llvm-svn: 53956
-
Ted Kremenek authored
When constructing an ObjCIvarDecl object in Sema, provide its visibility up front instead of setting it afterwards. This change also fixes a subtle bug where the access control of an ivar would be initialized to garbage if we didn't have an explicit visibility specifier (e.g., @private). llvm-svn: 53955
-
Ted Kremenek authored
is protected, not private. Added ObjCIvarDecl::getCanonicalAccessControl() to report the visible access control of an ivar, whereas getAccessControl() returns the access control relating to how the ivar was actually declared. llvm-svn: 53954
-
Ted Kremenek authored
llvm-svn: 53953
-
Ted Kremenek authored
llvm-svn: 53952
-
Chris Lattner authored
llvm-svn: 53948
-
-
Chris Lattner authored
int foo(void) { float x[2]; return x; } rdar://6093986 llvm-svn: 53946
-