- Aug 12, 2008
-
-
Ted Kremenek authored
Add variadic addInstMethSummary() and refactored addPanicSummary() to use this method. (code reduction). Misc. cleanups. llvm-svn: 54694
-
- Aug 11, 2008
-
-
Daniel Dunbar authored
- Drop {Decl.h,DeclObjC.h,IdentifierTable.h} from Expr.h - Moved Sema::getCurMethodDecl() out of line (dependent on ObjCMethodDecl via dyn_cast). llvm-svn: 54629
-
- Aug 10, 2008
-
-
Nico Weber authored
* Move FormatError() from TextDiagnostic up to DiagClient, remove now empty class TextDiagnostic * Make DiagClient optional for Diagnostic This fixes the following problems: * -html-diags (and probably others) does now output the same set of warnings as console clang does * nothing crashes if one forgets to call setHeaderSearch() on TextDiagnostic * some code duplication is removed llvm-svn: 54620
-
Chris Lattner authored
llvm-svn: 54605
-
- Aug 09, 2008
-
-
Ted Kremenek authored
llvm-svn: 54568
-
Ted Kremenek authored
llvm-svn: 54563
-
- Aug 08, 2008
-
-
Ted Kremenek authored
Added AssumeSymGT, AssumeSymGE, AssumeSymLT, AssumeSymLE to add some minor improvements to path-sensitivity. Right now we basically treat 'x > y' and 'x < y' as implying 'x != y', but this restriction will only inevitably apply to our must rudimentary value tracking component (we'll implement more advanced value reasoning later). llvm-svn: 54493
-
Ted Kremenek authored
llvm-svn: 54492
-
- Aug 05, 2008
-
-
Ted Kremenek authored
Added decl_iterator to DeclStmt to provide an abstract interface to iterate over the ScopedDecls of a DeclStmt. Updated a few clients of DeclStmt::getNextDeclarator() to use decl_iterator instead. Will update other clients after additional testing. llvm-svn: 54368
-
- Aug 02, 2008
-
-
Ted Kremenek authored
llvm-svn: 54268
-
- Jul 31, 2008
-
-
Ted Kremenek authored
Enhanced path-sensitive return-of-stack-address check to print out the name of the variable whose address was returned. llvm-svn: 54253
-
- Jul 30, 2008
-
-
Ted Kremenek authored
llvm-svn: 54219
-
- Jul 27, 2008
-
-
Chris Lattner authored
llvm-svn: 54106
-
Chris Lattner authored
ASTContext::getCanonicalType instead (PR2189) llvm-svn: 54105
-
- Jul 25, 2008
-
-
Ted Kremenek authored
llvm-svn: 54050
-
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
-
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
-
Ted Kremenek authored
This fixes PR 2573: http://llvm.org/bugs/show_bug.cgi?id=2573 llvm-svn: 54009
-
Ted Kremenek authored
Use ASTContext::isObjCObjectPointerType() to check if an ivar is a reference to an Objective-C object. llvm-svn: 53999
-
- Jul 24, 2008
-
-
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
-
Ted Kremenek authored
Don't flag dead stores when the result of a preincrement/predecrement is used in an enclosing expression. llvm-svn: 53964
-
- 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
llvm-svn: 53953
-
Ted Kremenek authored
llvm-svn: 53942
-
- Jul 22, 2008
-
-
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
-
Ted Kremenek authored
This implements <rdar://problem/6069935> llvm-svn: 53891
-
- Jul 18, 2008
-
-
Ted Kremenek authored
llvm-svn: 53763
-
Ted Kremenek authored
llvm-svn: 53759
-
Ted Kremenek authored
llvm-svn: 53758
-
Ted Kremenek authored
llvm-svn: 53755
-
Ted Kremenek authored
llvm-svn: 53754
-
Ted Kremenek authored
llvm-svn: 53753
-
Ted Kremenek authored
llvm-svn: 53752
-
Ted Kremenek authored
Renamed deterministic EvalBinOp to DetermEvalBinOpNN. This name mangling is unfortunately needed because virtual methods with the same name can be hidden by subclasses. llvm-svn: 53751
-
Ted Kremenek authored
Modified the new EvalBinOpNN to generate states instead of nodes. This is a much simpler interface and is what clients will want to do. llvm-svn: 53750
-
Ted Kremenek authored
llvm-svn: 53745
-