- Jul 25, 2008
-
-
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
-
Ted Kremenek authored
This implements <rdar://problem/6069935> llvm-svn: 53891
-
Daniel Dunbar authored
This subsumes Nico Weber's patch and implements bzero in terms of llvm.memset to match llvm-gcc. llvm-svn: 53888
-
Daniel Dunbar authored
This closes <rdar://problem/6080720>, support for __builtin_constant_p has been filed separately. llvm-svn: 53885
-
Chris Lattner authored
of a specific smallvector size. Fix protocol lists to pass down proper location info, so we get diagnostics like this: t.m:3:35: error: cannot find protocol definition for 'NSCopying', referenced by 'NSWhatever' @interface NSWhatever : NSObject <NSCopying> ^ instead of this: t.m:3:44: error: cannot find protocol definition for 'NSCopying', referenced by 'NSWhatever' @interface NSWhatever : NSObject <NSCopying> ^ Add a new IdentifierLocPair typedef which is just a pair<IdentifierInfo*, SourceLocation> llvm-svn: 53883
-
Ted Kremenek authored
Fix indexing bug. llvm-svn: 53882
-
- Jul 21, 2008
-
-
Ted Kremenek authored
llvm-svn: 53881
-
Daniel Dunbar authored
llvm-svn: 53878
-
Chris Lattner authored
simplifying code along the way and fixing a problem and memory leak or two. llvm-svn: 53876
-
Daniel Dunbar authored
llvm-svn: 53866
-
Chris Lattner authored
llvm-svn: 53864
-
Chris Lattner authored
References to forward definitions should be warnings. llvm-svn: 53863
-
Chris Lattner authored
various objc lists over to it. First up, the protocol list on ObjCInterfaceDecl. llvm-svn: 53856
-
Chris Lattner authored
be consistent with ObjCInterfaceDecl. llvm-svn: 53852
-