Commit Graph

5234 Commits

Author SHA1 Message Date
Ted Kremenek c17ec3e27f Re-enable the analyzer.
llvm-svn: 52367
2008-06-16 21:41:07 +00:00
Ted Kremenek 6bed7d6b1e Remove Analysis-Apple.
llvm-svn: 52366
2008-06-16 21:21:48 +00:00
Ted Kremenek f3c8650502 Move test case "uninit-msg-expr.m" from Analysis-Apple to Analysis (now works on all platforms).
llvm-svn: 52362
2008-06-16 21:15:29 +00:00
Ted Kremenek 2eed4d7a25 Moved test case NoReturn.m from Analysis-Apple to Analysis (now works on all platforms).
llvm-svn: 52359
2008-06-16 21:05:04 +00:00
Ted Kremenek bbe6111cc3 Move NSString.m test case from Analysis-Apple to Analysis. The test case now works on all platforms.
llvm-svn: 52354
2008-06-16 20:37:30 +00:00
Ted Kremenek ccafce3d4c Update test case to use -pedantic (makes the test case more clear).
llvm-svn: 52349
2008-06-16 19:53:46 +00:00
Ted Kremenek 5935a17daf Fix misspelling of "svelte".
llvm-svn: 52348
2008-06-16 19:51:41 +00:00
Ted Kremenek 951bc67096 Move Analysis-Apple/CFString.c to Analysis (the test case now works on all platforms).
llvm-svn: 52346
2008-06-16 19:35:31 +00:00
Ted Kremenek 107f13971f Move CFDateGC.m test case from Analysis-Apple to Analysis (it now runs on all platforms).
llvm-svn: 52344
2008-06-16 18:46:17 +00:00
Ted Kremenek 7056bb1f21 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
2008-06-16 18:34:22 +00:00
Ted Kremenek 87c760af36 Add test case for NSString format-string checking.
llvm-svn: 52337
2008-06-16 18:01:05 +00:00
Ted Kremenek 34f664d443 Introduce preliminary support for NSString format-string checking.
Patch by Nikita Zhuk!

llvm-svn: 52336
2008-06-16 18:00:42 +00:00
Chris Lattner 22b9ff4131 force size of alloca to i32, which is currently required by LLVM IR.
This fixes use of alloca on 64-bit systems.

llvm-svn: 52334
2008-06-16 17:15:14 +00:00
Eli Friedman 327944b343 Basic support for volatile loads and stores. Stores the volatile
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
2008-06-13 23:01:12 +00:00
Ted Kremenek 871fcb57e7 Tweak h1 line-height to avoid text overlay issues in the headers.
llvm-svn: 52256
2008-06-13 21:09:07 +00:00
Ted Kremenek 54aba504be CSS tweaks with the menu to help resolve some menu/content overlap issues.
llvm-svn: 52255
2008-06-13 21:06:53 +00:00
Argyrios Kyrtzidis 351008da17 Allow -parse-noop -verify options to be used together.
llvm-svn: 52249
2008-06-13 12:15:34 +00:00
Ted Kremenek b7aa2cc416 Grammo.
llvm-svn: 52241
2008-06-12 19:14:13 +00:00
Ted Kremenek 05e2f6006c Added an "important notes" section. Tweaked formatting.
llvm-svn: 52239
2008-06-12 18:39:02 +00:00
Argyrios Kyrtzidis caec17eab9 Fix broken test.
llvm-svn: 52232
2008-06-12 12:44:52 +00:00
Argyrios Kyrtzidis 351763e156 Multiple tests in a single test file must be linked with '&&'.
Otherwise, failing tests other than the last one will not be reported.

llvm-svn: 52231
2008-06-12 12:40:02 +00:00
Argyrios Kyrtzidis de794aadae Fix "copy & paste" error.
llvm-svn: 52227
2008-06-11 23:15:56 +00:00
Ted Kremenek 3715385cf0 Added direct link to latest analyzer build on Mac OS X.
llvm-svn: 52222
2008-06-11 16:16:41 +00:00
Ted Kremenek 690f46fd20 Added a disclaimer about running time, and provided an executive summary of the tool's interface.
llvm-svn: 52221
2008-06-11 16:09:34 +00:00
Ted Kremenek 9f25c1d219 Use relative links that start with "/" so the menu works from different subdirectories.
llvm-svn: 52210
2008-06-11 06:22:05 +00:00
Eli Friedman 61b529f466 Don't crash if we can't find FileEntry info for a typedef, since one
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
2008-06-11 06:20:39 +00:00
Ted Kremenek d2c8970a9a Use same CSS as the rest of the clang website.
llvm-svn: 52208
2008-06-11 06:19:49 +00:00
Ted Kremenek 1d920583e5 Fix menu/content overlap.
llvm-svn: 52207
2008-06-11 06:15:58 +00:00
Ted Kremenek 56847a7249 More padding adjustments.
llvm-svn: 52206
2008-06-11 06:14:37 +00:00
Ted Kremenek 7d4955d842 Shorten menu item name.
llvm-svn: 52205
2008-06-11 06:13:36 +00:00
Ted Kremenek 9c682c000a Add some padding to the right of "content" to balance out.
llvm-svn: 52204
2008-06-11 06:08:58 +00:00
Ted Kremenek 3ec4889258 Less padding... (difficult to preview without commits)
llvm-svn: 52203
2008-06-11 06:08:05 +00:00
Ted Kremenek a32374a768 More padding...
llvm-svn: 52202
2008-06-11 06:07:21 +00:00
Ted Kremenek 909ce26888 Expand padding of content.
llvm-svn: 52201
2008-06-11 06:06:43 +00:00
Ted Kremenek 91f223a587 Added static analysis link.
llvm-svn: 52200
2008-06-11 06:04:56 +00:00
Ted Kremenek 2a10380f99 Make default text a little darker. Shorten title in Static Analysis page.
llvm-svn: 52199
2008-06-11 06:01:28 +00:00
Ted Kremenek 2fc9d272a0 More CSS refinements.
llvm-svn: 52198
2008-06-11 05:55:39 +00:00
Ted Kremenek e368a8cb02 Use Arial as default font.
llvm-svn: 52197
2008-06-11 05:32:48 +00:00
Ted Kremenek 39da888759 Use sans-serif font.
llvm-svn: 52196
2008-06-11 05:29:48 +00:00
Ted Kremenek 567d28c20d Included page-specific formatting for tables.
llvm-svn: 52195
2008-06-11 05:28:36 +00:00
Ted Kremenek 9b9fe9799c Include side-menu.
llvm-svn: 52194
2008-06-11 05:26:52 +00:00
Ted Kremenek c2144e73a1 Minor tweaks/grammar/formatting.
llvm-svn: 52193
2008-06-11 05:25:12 +00:00
Ted Kremenek 2f7a88ddf6 Skip a few more files and linker options.
llvm-svn: 52189
2008-06-10 18:56:59 +00:00
Argyrios Kyrtzidis 34fe86cd9c Fix the setup of CodeGen/bitfield.c test.
Due to the broken setup it was passing the test while it should have failed.

llvm-svn: 52181
2008-06-10 15:48:26 +00:00
Eli Friedman 940a7c0cf8 Fix the run line for this test.
llvm-svn: 52169
2008-06-10 05:18:06 +00:00
Eli Friedman 4f64def9ee Make this test C instead of C++; making it C++ causes a failure on Linux
because clang can't parse stdio.h in C++ mode yet.

llvm-svn: 52168
2008-06-10 05:14:31 +00:00
Eli Friedman d5b11a3adc Don't include complex.h or tgmath.h for this test; they aren't needed,
and including tgmath.h causes the test to fail for no good reason.

llvm-svn: 52167
2008-06-10 05:09:36 +00:00
Eli Friedman d48188e8e0 Fix getTrueExpr for ConditionalOperator to actually work. No testcase
because it's currently unused.

llvm-svn: 52166
2008-06-10 05:00:13 +00:00
Argyrios Kyrtzidis 406fb231f8 -Add DeclChain member to DeclContext.
-ScopedDecls get chained to their DeclContext.
-DeclContext's DeclChain replaces FunctionDecl's DeclChain and EnumDecl's ElementList.

llvm-svn: 52164
2008-06-10 01:32:09 +00:00
Argyrios Kyrtzidis d0c1df4c84 Make CodeGenFunction::EmitDecl() recognise CXXClass/CXXStruct/CXXUnion.
llvm-svn: 52162
2008-06-09 23:42:47 +00:00