- Jul 25, 2008
-
-
Ted Kremenek authored
llvm-svn: 54050
-
Nate Begeman authored
llvm-svn: 54049
-
Nate Begeman authored
llvm-svn: 54048
-
Nate Begeman authored
llvm-svn: 54047
-
-
Chris Lattner authored
rdar://6095245. llvm-svn: 54044
-
Steve Naroff authored
(a) removes a bogus warning. (b) removes an undesirable usage of the ObjCMessageExpr constructor that takes an IdentifierInfo * (which I will abolish). llvm-svn: 54042
-
Chris Lattner authored
even if in a system header etc. rdar://6079937 llvm-svn: 54038
-
Chris Lattner authored
t2.c:1:17: warning: hexadecimal floating constants are a C99 feature long double d = 0x0.0000003ffffffff00000p-16357L; ^ instead of emitting a weird error message that doesn't make sense: t2.c:1:41: error: hexadecimal floating constants require an exponent long double d = 0x0.0000003ffffffff00000p-16357L; ^ rdar://6096838 llvm-svn: 54035
-
Ted Kremenek authored
Remove call to isSEL and isSEL itself since the call is dead (isObjCObjectPointerType() will never return true for selectors). llvm-svn: 54034
-
-
Steve Naroff authored
llvm-svn: 54032
-
Ted Kremenek authored
Only warn about missing/incomplete -dealloc implementations when a class contains a non-SEL, non-IBOutlet ivar that references an ObjC object. llvm-svn: 54024
-
Steve Naroff authored
llvm-svn: 54013
-
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
-
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
-
- 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
This fixes PR 2592: http://llvm.org/bugs/show_bug.cgi?id=2592 llvm-svn: 53987
-
Ted Kremenek authored
llvm-svn: 53983
-
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
-
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: 53960
-
Ted Kremenek authored
Refine the error message of unused ivars. Added test case. llvm-svn: 53957
-
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
llvm-svn: 53953
-
Chris Lattner authored
llvm-svn: 53948
-
-
Chris Lattner authored
int foo(void) { float x[2]; return x; } rdar://6093986 llvm-svn: 53946
-
Ted Kremenek authored
llvm-svn: 53942
-
- Jul 22, 2008
-
-
Daniel Dunbar authored
llvm-svn: 53928
-
Anders Carlsson authored
llvm-svn: 53922
-
Ted Kremenek authored
llvm-svn: 53914
-
Ted Kremenek authored
Moved registration of basic path-sensitive checks from GRSimpleVals.cpp to GRExprEngineInternalChecks.cpp. llvm-svn: 53909
-
Ted Kremenek authored
llvm-svn: 53906
-
Daniel Dunbar authored
llvm-svn: 53899
-