]>
granicus.if.org Git - clang/log
Chris Lattner [Sat, 21 Jun 2008 21:44:18 +0000 (21:44 +0000)]
"this patch adds code generation hooks for Objective-C constant strings. It also modifies Sema so that Objective-C constant strings are treated as untyped objects if the interface for the constant string class can not be found. This is consistent with Apple GCC. I thought it was consistent with GNU GCC, since this was causing failures when trying to compile GNUstep with (GNU) GCC, but it appears that this is not the case when attempting to produce a simple test case to demonstrate it. Possibly there is a way of making the error go away, but I haven't found out what it is yet."
Patch by David Chisnall!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52599
91177308 -0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 21 Jun 2008 21:40:20 +0000 (21:40 +0000)]
Implement printing for ObjCClassDecl's, patch by Jean-Daniel Dupas!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52598
91177308 -0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 21 Jun 2008 21:37:25 +0000 (21:37 +0000)]
Don't add isa with @defs only to work around it in the code generator, patch
by David Chisnall.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52597
91177308 -0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 21 Jun 2008 20:20:39 +0000 (20:20 +0000)]
"This moves built-in Objective-C types up the scope chains to where they can be replaced by versions included from the runtime library's headers."
This makes it ok to use @"foo" without a declaration for NSConstantString.
Patch by David Chisnall!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52593
91177308 -0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 21 Jun 2008 19:39:06 +0000 (19:39 +0000)]
add parser and sema support for the funny ObjC '@defs' thing.
Patch by David Chisnall!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52586
91177308 -0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 21 Jun 2008 18:06:44 +0000 (18:06 +0000)]
remove dead enums.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52581
91177308 -0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 21 Jun 2008 18:04:54 +0000 (18:04 +0000)]
Switch 'super' from being a weird cast thing to being a predefined expr node.
Patch by David Chisnall with objc rewriter and stmtdumper updates from me.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52580
91177308 -0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 21 Jun 2008 17:46:11 +0000 (17:46 +0000)]
"This maps the -pthread option to -lpthread - this isn't 100% correct,
since handling this correctly is quite complex, and on some platforms
requires additional -D options and on some implies linking against a
different libc, but this works better than just ignoring the option.
The other change passes the -x option across to clang, which allows
compiling .c files as Objective-C and so on. For some reason a lot of
configure scripts seem to be under the misguided impression that this
is a sensible thing to do."
Patch by David Chisnall!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52579
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Sat, 21 Jun 2008 17:20:55 +0000 (17:20 +0000)]
Include stdint.h instead of stdio.h.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52578
91177308 -0d34-0410-b5e6-
96231b3b80d8
Argyrios Kyrtzidis [Sat, 21 Jun 2008 10:00:56 +0000 (10:00 +0000)]
K&R-style functions not allowed in C++.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52575
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Fri, 20 Jun 2008 23:22:15 +0000 (23:22 +0000)]
Updated latest static analyzer builder to checker-43.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52569
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Fri, 20 Jun 2008 23:14:52 +0000 (23:14 +0000)]
Test the dead-store checker using both -warn-dead-stores and -checker-simple.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52568
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Fri, 20 Jun 2008 23:13:39 +0000 (23:13 +0000)]
When using the dead-stores checker with the BugReporter class, properly capture the diagnostic associated with a specific warning and emit it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52565
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Fri, 20 Jun 2008 21:56:47 +0000 (21:56 +0000)]
Updated latest checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52563
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Fri, 20 Jun 2008 21:55:29 +0000 (21:55 +0000)]
Updated call to dead stores to use proper arguments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52560
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Fri, 20 Jun 2008 21:54:57 +0000 (21:54 +0000)]
Updated latest static analyzer build to checker-41.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52559
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Fri, 20 Jun 2008 21:46:17 +0000 (21:46 +0000)]
Updated Xcode project.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52556
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Fri, 20 Jun 2008 21:45:25 +0000 (21:45 +0000)]
Modified the dead stores checker to...
1) Check if a dead store appears as a subexpression. For such cases, we emit
a verbose diagnostic so that users aren't confused. This addresses:
<rdar://problem/
5968508 > checker gives misleading report for dead store in loop
2) Don't emit a dead store warning when assigning a null value to a pointer.
This is a common form of defensive programming. We may wish to make
this an option to the the checker one day.
This addresses the feature request in the following email:
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2008-June/001978.html
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52555
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Fri, 20 Jun 2008 21:40:36 +0000 (21:40 +0000)]
Added ParentMap, a class to represent a lazily constructed mapping from child to parents.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52553
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Fri, 20 Jun 2008 21:39:47 +0000 (21:39 +0000)]
Added "Decl::getCodyBody()", a virtual method that returns the root AST node (Stmt*) that the Decl wraps (if any). Currently this only returns a non-null value for FunctionDecl and ObjCMethodDecl.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52552
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Thu, 19 Jun 2008 23:20:00 +0000 (23:20 +0000)]
Updated latest static analysis build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52512
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Thu, 19 Jun 2008 23:14:24 +0000 (23:14 +0000)]
Add DTD information.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52511
91177308 -0d34-0410-b5e6-
96231b3b80d8
Mike Stump [Thu, 19 Jun 2008 20:57:50 +0000 (20:57 +0000)]
Remove tabs.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52507
91177308 -0d34-0410-b5e6-
96231b3b80d8
Mike Stump [Thu, 19 Jun 2008 19:52:46 +0000 (19:52 +0000)]
One more test checkin.
Remove an extra space at the end of a line.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52504
91177308 -0d34-0410-b5e6-
96231b3b80d8
Mike Stump [Thu, 19 Jun 2008 19:28:49 +0000 (19:28 +0000)]
Test commit to see if new account works.
I choose to remove extraneous whitespace at end of lines as a semantic
nop for the test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52503
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Thu, 19 Jun 2008 17:55:38 +0000 (17:55 +0000)]
Introduce initial transfer function support for __imag__ and __real__. We don't
have complex RValues yet, so this logic is only fully implemented when __imag__
and __real__ are used on non-complex types.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52501
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Wed, 18 Jun 2008 05:43:24 +0000 (05:43 +0000)]
Updated static analyzer build to checker-39.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52446
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Wed, 18 Jun 2008 05:34:07 +0000 (05:34 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52443
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Tue, 17 Jun 2008 19:23:54 +0000 (19:23 +0000)]
Update website link to latest checker build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52429
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Tue, 17 Jun 2008 19:14:06 +0000 (19:14 +0000)]
Fix non-termination bug reported by Thomas Clement!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52426
91177308 -0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Jun 2008 18:05:57 +0000 (18:05 +0000)]
Change self/_cmd to be instances of ImplicitParamDecl instead of ParmVarDecl.
Patch by David Chisnall!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52422
91177308 -0d34-0410-b5e6-
96231b3b80d8
Nuno Lopes [Tue, 17 Jun 2008 17:23:14 +0000 (17:23 +0000)]
handle -arch and -isysroot correctly (like ccc-analyszer do).
Patch by Filipe Cabecinhas
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52417
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Tue, 17 Jun 2008 14:02:30 +0000 (14:02 +0000)]
Added link to Developer Meeting.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52403
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Tue, 17 Jun 2008 13:55:34 +0000 (13:55 +0000)]
Flush bullets in <ul>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52402
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Tue, 17 Jun 2008 13:48:36 +0000 (13:48 +0000)]
Convert <h4> to <h3>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52400
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Tue, 17 Jun 2008 13:48:17 +0000 (13:48 +0000)]
Tighten <h2> padding.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52399
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Tue, 17 Jun 2008 13:47:52 +0000 (13:47 +0000)]
Simplify anchor.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52398
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Tue, 17 Jun 2008 07:05:45 +0000 (07:05 +0000)]
Remove margin above <h1>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52389
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Tue, 17 Jun 2008 06:47:58 +0000 (06:47 +0000)]
Make "important notes" more succinct.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52388
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Tue, 17 Jun 2008 06:43:11 +0000 (06:43 +0000)]
Include the "latest build" checker link using SSI.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52387
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Tue, 17 Jun 2008 06:38:07 +0000 (06:38 +0000)]
Split static analysis page into two pages: a high-level information page (with quick download links) and a usage page.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52386
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Tue, 17 Jun 2008 06:36:13 +0000 (06:36 +0000)]
Tweak font sizes.
Color <h3> light blue, <h2> a dark grey.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52385
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Tue, 17 Jun 2008 06:35:36 +0000 (06:35 +0000)]
Convert <h2> -> <h3>. <h1> -> <h2> (more consistent with other pages)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52384
91177308 -0d34-0410-b5e6-
96231b3b80d8
Eli Friedman [Tue, 17 Jun 2008 05:36:46 +0000 (05:36 +0000)]
Make this test actually pass, in addition to the previous patch
which made it work.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52382
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Tue, 17 Jun 2008 03:11:08 +0000 (03:11 +0000)]
Fix more strict-aliasing warnings.
Fix indentation of class declarations in ExprCXX.h
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52380
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Tue, 17 Jun 2008 03:06:59 +0000 (03:06 +0000)]
Only use colored output when the environment variable SCAN_BUILD_COLOR is set.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52379
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Tue, 17 Jun 2008 02:43:46 +0000 (02:43 +0000)]
This patch is motivated by numerous strict-aliasing warnings when compiling
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52378
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Mon, 16 Jun 2008 23:46:27 +0000 (23:46 +0000)]
Silence uninitialized value warning in Release build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52376
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Mon, 16 Jun 2008 23:45:12 +0000 (23:45 +0000)]
Silence uninitialized value warning during Release build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52375
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Mon, 16 Jun 2008 22:40:14 +0000 (22:40 +0000)]
Remove debugging message in ccc-analyzer.
Add color diagnostics from scan-build, and indicate the number of bugs found (if any).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52372
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Mon, 16 Jun 2008 21:46:12 +0000 (21:46 +0000)]
Latest release is checker-37.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52370
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Mon, 16 Jun 2008 21:41:07 +0000 (21:41 +0000)]
Re-enable the analyzer.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52367
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Mon, 16 Jun 2008 21:21:48 +0000 (21:21 +0000)]
Remove Analysis-Apple.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52366
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Mon, 16 Jun 2008 21:15:29 +0000 (21:15 +0000)]
Move test case "uninit-msg-expr.m" from Analysis-Apple to Analysis (now works on all platforms).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52362
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Mon, 16 Jun 2008 21:05:04 +0000 (21:05 +0000)]
Moved test case NoReturn.m from Analysis-Apple to Analysis (now works on all platforms).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52359
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Mon, 16 Jun 2008 20:37:30 +0000 (20:37 +0000)]
Move NSString.m test case from Analysis-Apple to Analysis. The test case now works on all platforms.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52354
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Mon, 16 Jun 2008 19:53:46 +0000 (19:53 +0000)]
Update test case to use -pedantic (makes the test case more clear).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52349
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Mon, 16 Jun 2008 19:51:41 +0000 (19:51 +0000)]
Fix misspelling of "svelte".
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52348
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Mon, 16 Jun 2008 19:35:31 +0000 (19:35 +0000)]
Move Analysis-Apple/CFString.c to Analysis (the test case now works on all platforms).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52346
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Mon, 16 Jun 2008 18:46:17 +0000 (18:46 +0000)]
Move CFDateGC.m test case from Analysis-Apple to Analysis (it now runs on all platforms).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52344
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Mon, 16 Jun 2008 18:34:22 +0000 (18:34 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52343
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Mon, 16 Jun 2008 18:01:05 +0000 (18:01 +0000)]
Add test case for NSString format-string checking.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52337
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Mon, 16 Jun 2008 18:00:42 +0000 (18:00 +0000)]
Introduce preliminary support for NSString format-string checking.
Patch by Nikita Zhuk!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52336
91177308 -0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Jun 2008 17:15:14 +0000 (17:15 +0000)]
force size of alloca to i32, which is currently required by LLVM IR.
This fixes use of alloca on 64-bit systems.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52334
91177308 -0d34-0410-b5e6-
96231b3b80d8
Eli Friedman [Fri, 13 Jun 2008 23:01:12 +0000 (23:01 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52264
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Fri, 13 Jun 2008 21:09:07 +0000 (21:09 +0000)]
Tweak h1 line-height to avoid text overlay issues in the headers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52256
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Fri, 13 Jun 2008 21:06:53 +0000 (21:06 +0000)]
CSS tweaks with the menu to help resolve some menu/content overlap issues.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52255
91177308 -0d34-0410-b5e6-
96231b3b80d8
Argyrios Kyrtzidis [Fri, 13 Jun 2008 12:15:34 +0000 (12:15 +0000)]
Allow -parse-noop -verify options to be used together.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52249
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Thu, 12 Jun 2008 19:14:13 +0000 (19:14 +0000)]
Grammo.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52241
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Thu, 12 Jun 2008 18:39:02 +0000 (18:39 +0000)]
Added an "important notes" section. Tweaked formatting.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52239
91177308 -0d34-0410-b5e6-
96231b3b80d8
Argyrios Kyrtzidis [Thu, 12 Jun 2008 12:44:52 +0000 (12:44 +0000)]
Fix broken test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52232
91177308 -0d34-0410-b5e6-
96231b3b80d8
Argyrios Kyrtzidis [Thu, 12 Jun 2008 12:40:02 +0000 (12:40 +0000)]
Multiple tests in a single test file must be linked with '&&'.
Otherwise, failing tests other than the last one will not be reported.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52231
91177308 -0d34-0410-b5e6-
96231b3b80d8
Argyrios Kyrtzidis [Wed, 11 Jun 2008 23:15:56 +0000 (23:15 +0000)]
Fix "copy & paste" error.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52227
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Wed, 11 Jun 2008 16:16:41 +0000 (16:16 +0000)]
Added direct link to latest analyzer build on Mac OS X.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52222
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Wed, 11 Jun 2008 16:09:34 +0000 (16:09 +0000)]
Added a disclaimer about running time, and provided an executive summary of the tool's interface.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52221
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Wed, 11 Jun 2008 06:22:05 +0000 (06:22 +0000)]
Use relative links that start with "/" so the menu works from different subdirectories.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52210
91177308 -0d34-0410-b5e6-
96231b3b80d8
Eli Friedman [Wed, 11 Jun 2008 06:20:39 +0000 (06:20 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52209
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Wed, 11 Jun 2008 06:19:49 +0000 (06:19 +0000)]
Use same CSS as the rest of the clang website.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52208
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Wed, 11 Jun 2008 06:15:58 +0000 (06:15 +0000)]
Fix menu/content overlap.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52207
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Wed, 11 Jun 2008 06:14:37 +0000 (06:14 +0000)]
More padding adjustments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52206
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Wed, 11 Jun 2008 06:13:36 +0000 (06:13 +0000)]
Shorten menu item name.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52205
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Wed, 11 Jun 2008 06:08:58 +0000 (06:08 +0000)]
Add some padding to the right of "content" to balance out.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52204
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Wed, 11 Jun 2008 06:08:05 +0000 (06:08 +0000)]
Less padding... (difficult to preview without commits)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52203
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Wed, 11 Jun 2008 06:07:21 +0000 (06:07 +0000)]
More padding...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52202
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Wed, 11 Jun 2008 06:06:43 +0000 (06:06 +0000)]
Expand padding of content.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52201
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Wed, 11 Jun 2008 06:04:56 +0000 (06:04 +0000)]
Added static analysis link.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52200
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Wed, 11 Jun 2008 06:01:28 +0000 (06:01 +0000)]
Make default text a little darker. Shorten title in Static Analysis page.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52199
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Wed, 11 Jun 2008 05:55:39 +0000 (05:55 +0000)]
More CSS refinements.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52198
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Wed, 11 Jun 2008 05:32:48 +0000 (05:32 +0000)]
Use Arial as default font.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52197
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Wed, 11 Jun 2008 05:29:48 +0000 (05:29 +0000)]
Use sans-serif font.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52196
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Wed, 11 Jun 2008 05:28:36 +0000 (05:28 +0000)]
Included page-specific formatting for tables.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52195
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Wed, 11 Jun 2008 05:26:52 +0000 (05:26 +0000)]
Include side-menu.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52194
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Wed, 11 Jun 2008 05:25:12 +0000 (05:25 +0000)]
Minor tweaks/grammar/formatting.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52193
91177308 -0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Tue, 10 Jun 2008 18:56:59 +0000 (18:56 +0000)]
Skip a few more files and linker options.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52189
91177308 -0d34-0410-b5e6-
96231b3b80d8
Argyrios Kyrtzidis [Tue, 10 Jun 2008 15:48:26 +0000 (15:48 +0000)]
Fix the setup of CodeGen/bitfield.c test.
Due to the broken setup it was passing the test while it should have failed.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52181
91177308 -0d34-0410-b5e6-
96231b3b80d8
Eli Friedman [Tue, 10 Jun 2008 05:18:06 +0000 (05:18 +0000)]
Fix the run line for this test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52169
91177308 -0d34-0410-b5e6-
96231b3b80d8
Eli Friedman [Tue, 10 Jun 2008 05:14:31 +0000 (05:14 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52168
91177308 -0d34-0410-b5e6-
96231b3b80d8
Eli Friedman [Tue, 10 Jun 2008 05:09:36 +0000 (05:09 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52167
91177308 -0d34-0410-b5e6-
96231b3b80d8
Eli Friedman [Tue, 10 Jun 2008 05:00:13 +0000 (05:00 +0000)]
Fix getTrueExpr for ConditionalOperator to actually work. No testcase
because it's currently unused.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52166
91177308 -0d34-0410-b5e6-
96231b3b80d8
Argyrios Kyrtzidis [Tue, 10 Jun 2008 01:32:09 +0000 (01:32 +0000)]
-Add DeclChain member to DeclContext.
-ScopedDecls get chained to their DeclContext.
-DeclContext's DeclChain replaces FunctionDecl's DeclChain and EnumDecl's ElementList.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52164
91177308 -0d34-0410-b5e6-
96231b3b80d8