- Jun 18, 2008
-
-
Ted Kremenek authored
Added a new ProgramPoint: PostPurgeDeadSymbols. This new program point distinguishes between the cases when we just evaluated the transfer function of a Stmt* (PostStmt) or performed a load (PostLoad). This solves a caching bug observed in a recent bug report. llvm-svn: 52443
-
- Jun 17, 2008
-
-
Ted Kremenek authored
llvm-svn: 52429
-
Ted Kremenek authored
llvm-svn: 52426
-
Chris Lattner authored
Patch by David Chisnall! llvm-svn: 52422
-
Nuno Lopes authored
Patch by Filipe Cabecinhas llvm-svn: 52417
-
Ted Kremenek authored
llvm-svn: 52403
-
Ted Kremenek authored
llvm-svn: 52402
-
Ted Kremenek authored
llvm-svn: 52400
-
Ted Kremenek authored
llvm-svn: 52399
-
Ted Kremenek authored
llvm-svn: 52398
-
Ted Kremenek authored
llvm-svn: 52389
-
Ted Kremenek authored
llvm-svn: 52388
-
Ted Kremenek authored
llvm-svn: 52387
-
Ted Kremenek authored
Split static analysis page into two pages: a high-level information page (with quick download links) and a usage page. llvm-svn: 52386
-
Ted Kremenek authored
Color <h3> light blue, <h2> a dark grey. llvm-svn: 52385
-
Ted Kremenek authored
llvm-svn: 52384
-
Eli Friedman authored
which made it work. llvm-svn: 52382
-
Ted Kremenek authored
Fix indentation of class declarations in ExprCXX.h llvm-svn: 52380
-
Ted Kremenek authored
llvm-svn: 52379
-
Ted Kremenek authored
clang as a Release build. The big change is that all AST nodes (subclasses of Stmt) whose children are Expr* store their children as Stmt* or arrays of Stmt*. This is to remove strict-aliasing warnings when using StmtIterator. None of the interfaces of any of the classes have changed (except those with arg_iterators, see below), as the accessor methods introduce the needed casts (via cast<>). While this extra casting may seem cumbersome, it actually adds some important sanity checks throughout the codebase, as clients using StmtIterator can potentially overwrite children that are expected to be Expr* with Stmt* (that aren't Expr*). The casts provide extra sanity checks that are operational in debug builds to catch invariant violations such as these. For classes that have arg_iterators (e.g., CallExpr), the definition of arg_iterator has been replaced. Instead of it being Expr**, it is an actual class (called ExprIterator) that wraps a Stmt**, and provides the necessary operators for iteration. The nice thing about this class is that it also uses cast<> to type-checking, which introduces extra sanity checks throughout the codebase that are useful for debugging. A few of the CodeGen functions that use arg_iterator (especially from OverloadExpr) have been modified to take begin and end iterators instead of a base Expr** and the number of arguments. This matches more with the abstraction of iteration. This still needs to be cleaned up a little bit, as clients expect that ExprIterator is a RandomAccessIterator (which we may or may not wish to allow for efficiency of representation). This is a fairly large patch. It passes the tests (except CodeGen/bitfield.c, which was already broken) on both a Debug and Release build, but it should obviously be reviewed. llvm-svn: 52378
-
Ted Kremenek authored
llvm-svn: 52376
-
Ted Kremenek authored
llvm-svn: 52375
-
Ted Kremenek authored
Add color diagnostics from scan-build, and indicate the number of bugs found (if any). llvm-svn: 52372
-
- Jun 16, 2008
-
-
Ted Kremenek authored
llvm-svn: 52370
-
Ted Kremenek authored
llvm-svn: 52367
-
Ted Kremenek authored
llvm-svn: 52366
-
Ted Kremenek authored
llvm-svn: 52362
-
Ted Kremenek authored
llvm-svn: 52359
-
Ted Kremenek authored
Move NSString.m test case from Analysis-Apple to Analysis. The test case now works on all platforms. llvm-svn: 52354
-
Ted Kremenek authored
llvm-svn: 52349
-
Ted Kremenek authored
llvm-svn: 52348
-
Ted Kremenek authored
llvm-svn: 52346
-
Ted Kremenek authored
llvm-svn: 52344
-
Ted Kremenek authored
Moved CFDate.m from test/Analysis-Apple to test/Analysis, and added the necessary declarations from Foundation.h to CFDate.m so that the test case can be exercised on all platforms. llvm-svn: 52343
-
Ted Kremenek authored
llvm-svn: 52337
-
Ted Kremenek authored
Patch by Nikita Zhuk! llvm-svn: 52336
-
Chris Lattner authored
This fixes use of alloca on 64-bit systems. llvm-svn: 52334
-
- Jun 14, 2008
-
-
Eli Friedman authored
qualifier in the lvalue, and changes lvalue loads/stores to honor the volatile flag. Places which need some further attention are marked with FIXMEs. Patch by Cédric Venet. llvm-svn: 52264
-
- Jun 13, 2008
-
-
Ted Kremenek authored
llvm-svn: 52256
-
Ted Kremenek authored
llvm-svn: 52255
-