summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
* Change self/_cmd to be instances of ImplicitParamDecl instead of ParmVarDecl.Chris Lattner2008-06-1719-161/+203
| | | | | | Patch by David Chisnall! llvm-svn: 52422
* handle -arch and -isysroot correctly (like ccc-analyszer do).Nuno Lopes2008-06-171-7/+17
| | | | | | Patch by Filipe Cabecinhas llvm-svn: 52417
* Added link to Developer Meeting.Ted Kremenek2008-06-171-0/+6
| | | | llvm-svn: 52403
* Flush bullets in <ul>Ted Kremenek2008-06-171-0/+1
| | | | llvm-svn: 52402
* Convert <h4> to <h3>.Ted Kremenek2008-06-171-10/+10
| | | | llvm-svn: 52400
* Tighten <h2> padding.Ted Kremenek2008-06-171-1/+1
| | | | llvm-svn: 52399
* Simplify anchor.Ted Kremenek2008-06-171-1/+1
| | | | llvm-svn: 52398
* Remove margin above <h1>.Ted Kremenek2008-06-171-0/+1
| | | | llvm-svn: 52389
* Make "important notes" more succinct.Ted Kremenek2008-06-171-18/+13
| | | | llvm-svn: 52388
* Include the "latest build" checker link using SSI.Ted Kremenek2008-06-173-3/+8
| | | | llvm-svn: 52387
* Split static analysis page into two pages: a high-level information page ↵Ted Kremenek2008-06-172-288/+380
| | | | | | (with quick download links) and a usage page. llvm-svn: 52386
* Tweak font sizes.Ted Kremenek2008-06-171-4/+5
| | | | | | Color <h3> light blue, <h2> a dark grey. llvm-svn: 52385
* Convert <h2> -> <h3>. <h1> -> <h2> (more consistent with other pages)Ted Kremenek2008-06-171-16/+16
| | | | llvm-svn: 52384
* Make this test actually pass, in addition to the previous patch Eli Friedman2008-06-171-6/+6
| | | | | | which made it work. llvm-svn: 52382
* Fix more strict-aliasing warnings.Ted Kremenek2008-06-174-176/+173
| | | | | | Fix indentation of class declarations in ExprCXX.h llvm-svn: 52380
* Only use colored output when the environment variable SCAN_BUILD_COLOR is set.Ted Kremenek2008-06-171-1/+2
| | | | llvm-svn: 52379
* This patch is motivated by numerous strict-aliasing warnings when compilingTed Kremenek2008-06-1711-269/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Silence uninitialized value warning in Release build.Ted Kremenek2008-06-161-4/+5
| | | | llvm-svn: 52376
* Silence uninitialized value warning during Release build.Ted Kremenek2008-06-161-4/+5
| | | | llvm-svn: 52375
* Remove debugging message in ccc-analyzer.Ted Kremenek2008-06-162-20/+54
| | | | | | Add color diagnostics from scan-build, and indicate the number of bugs found (if any). llvm-svn: 52372
* Latest release is checker-37.Ted Kremenek2008-06-161-1/+4
| | | | llvm-svn: 52370
* Re-enable the analyzer.Ted Kremenek2008-06-161-1/+1
| | | | llvm-svn: 52367
* Remove Analysis-Apple.Ted Kremenek2008-06-161-1/+1
| | | | llvm-svn: 52366
* Move test case "uninit-msg-expr.m" from Analysis-Apple to Analysis (now ↵Ted Kremenek2008-06-162-20/+56
| | | | | | works on all platforms). llvm-svn: 52362
* Moved test case NoReturn.m from Analysis-Apple to Analysis (now works on all ↵Ted Kremenek2008-06-162-36/+78
| | | | | | platforms). llvm-svn: 52359
* Move NSString.m test case from Analysis-Apple to Analysis. The test case ↵Ted Kremenek2008-06-162-111/+180
| | | | | | now works on all platforms. llvm-svn: 52354
* Update test case to use -pedantic (makes the test case more clear).Ted Kremenek2008-06-161-2/+13
| | | | llvm-svn: 52349
* Fix misspelling of "svelte".Ted Kremenek2008-06-163-3/+3
| | | | llvm-svn: 52348
* Move Analysis-Apple/CFString.c to Analysis (the test case now works on all ↵Ted Kremenek2008-06-162-30/+49
| | | | | | platforms). llvm-svn: 52346
* Move CFDateGC.m test case from Analysis-Apple to Analysis (it now runs on ↵Ted Kremenek2008-06-162-17/+39
| | | | | | all platforms). llvm-svn: 52344
* Moved CFDate.m from test/Analysis-Apple to test/Analysis, and added the ↵Ted Kremenek2008-06-161-13/+39
| | | | | | necessary declarations from Foundation.h to CFDate.m so that the test case can be exercised on all platforms. llvm-svn: 52343
* Add test case for NSString format-string checking.Ted Kremenek2008-06-161-0/+36
| | | | llvm-svn: 52337
* Introduce preliminary support for NSString format-string checking.Ted Kremenek2008-06-164-2/+38
| | | | | | Patch by Nikita Zhuk! llvm-svn: 52336
* force size of alloca to i32, which is currently required by LLVM IR.Chris Lattner2008-06-161-3/+6
| | | | | | This fixes use of alloca on 64-bit systems. llvm-svn: 52334
* Basic support for volatile loads and stores. Stores the volatile Eli Friedman2008-06-139-51/+200
| | | | | | | | | | 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
* Tweak h1 line-height to avoid text overlay issues in the headers.Ted Kremenek2008-06-131-1/+1
| | | | llvm-svn: 52256
* CSS tweaks with the menu to help resolve some menu/content overlap issues.Ted Kremenek2008-06-132-3/+5
| | | | llvm-svn: 52255
* Allow -parse-noop -verify options to be used together.Argyrios Kyrtzidis2008-06-133-1/+11
| | | | llvm-svn: 52249
* Grammo.Ted Kremenek2008-06-121-3/+3
| | | | llvm-svn: 52241
* Added an "important notes" section. Tweaked formatting.Ted Kremenek2008-06-122-49/+73
| | | | llvm-svn: 52239
* Fix broken test.Argyrios Kyrtzidis2008-06-121-1/+1
| | | | llvm-svn: 52232
* Multiple tests in a single test file must be linked with '&&'.Argyrios Kyrtzidis2008-06-1219-49/+49
| | | | | | Otherwise, failing tests other than the last one will not be reported. llvm-svn: 52231
* Fix "copy & paste" error.Argyrios Kyrtzidis2008-06-111-3/+3
| | | | llvm-svn: 52227
* Added direct link to latest analyzer build on Mac OS X.Ted Kremenek2008-06-111-2/+8
| | | | llvm-svn: 52222
* Added a disclaimer about running time, and provided an executive summary of ↵Ted Kremenek2008-06-111-1/+19
| | | | | | the tool's interface. llvm-svn: 52221
* Use relative links that start with "/" so the menu works from different ↵Ted Kremenek2008-06-111-7/+7
| | | | | | subdirectories. llvm-svn: 52210
* Don't crash if we can't find FileEntry info for a typedef, since one Eli Friedman2008-06-112-14/+21
| | | | | | | | | | | isn't guaranteed to exist. This fixes a crash with conflicting typedefs coming from stdin. This also fixes the crash in PR2406, but doesn't completely fix the issue; it appears there's something strange about the physical location for the definition of int64_t in stdlib.h. llvm-svn: 52209
* Use same CSS as the rest of the clang website.Ted Kremenek2008-06-111-0/+14
| | | | llvm-svn: 52208
* Fix menu/content overlap.Ted Kremenek2008-06-111-1/+0
| | | | llvm-svn: 52207
* More padding adjustments.Ted Kremenek2008-06-111-1/+2
| | | | llvm-svn: 52206
OpenPOWER on IntegriCloud