Gordon Henriksen
a2fef0c117
Better test for availability of __gnu_cxx::stdio_filebuf.
...
If this doesn't work, I'll write a configure test.
llvm-svn: 52213
2008-06-11 10:46:24 +00:00
Matthijs Kooijman
3453c7bcb5
Clarify a comment.
...
llvm-svn: 52212
2008-06-11 09:00:12 +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
Gabor Greif
945f2f7fed
op_iterator-ify loops
...
llvm-svn: 52191
2008-06-10 22:03:26 +00:00
Duncan Sands
a8bccd3e08
Small doc fix.
...
llvm-svn: 52190
2008-06-10 20:54:01 +00:00
Ted Kremenek
2f7a88ddf6
Skip a few more files and linker options.
...
llvm-svn: 52189
2008-06-10 18:56:59 +00:00
Dale Johannesen
1b09297a92
Use %link not %llvmgxx (which includes -c) to do the link.
...
The test still fails because an expected symbol is not
present, and I don't see why it should be.
llvm-svn: 52188
2008-06-10 18:01:54 +00:00
Dale Johannesen
5867e1576a
Suppress ObjC FE warnings, which cause the test to fail.
...
Warnings are legitimate.
llvm-svn: 52187
2008-06-10 18:00:45 +00:00
Dale Johannesen
3978cc5f3b
Add -w to inhibit gcc warnings, which causes the
...
harness to fail the tests. The warning all appear
legitimate.
llvm-svn: 52186
2008-06-10 18:00:09 +00:00
Dale Johannesen
01b7cae58d
Fix parameter spelling: sse not sse1
...
llvm-svn: 52185
2008-06-10 17:57:58 +00:00
Matthijs Kooijman
6c0890a169
Ignore stderr for some more tests that expect warnings there.
...
This fixes 2 testcases.
llvm-svn: 52184
2008-06-10 16:13:38 +00:00
Matthijs Kooijman
07f4eecd2a
Fix some more quoting issues in RUN lines, this time regarding unintended
...
variable expansions involving the $ character.
This fixes 4 tests that were not running properly before.
llvm-svn: 52183
2008-06-10 16:10:32 +00:00
Matthijs Kooijman
a2f743eaff
Fix some escaping and quoting in RUN lines, mainly involving { and <. In two
...
cases quoting of <{ didn't work out, so I changed the grep to check for }>
instead.
This fixes 7 testcases that were not properly running before.
llvm-svn: 52182
2008-06-10 16:04:47 +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
Matthijs Kooijman
400c49c781
Remove double pipes in RUN commandlines.
...
This fixes 5 testcases that were not being run properly before.
llvm-svn: 52180
2008-06-10 15:11:36 +00:00
Matthijs Kooijman
6436685110
Remove trailing whitespace after line continuations in test cases to them work.
...
This fixes two test cases that were not being run properly before.
llvm-svn: 52179
2008-06-10 15:07:07 +00:00
Matthijs Kooijman
d1057f49b4
Let some more tests ignore expected output on stderr.
...
Also, use > %t instead of -o %t for output in one test since that also works
when %t already exists.
This fixes 6 testcases.
llvm-svn: 52178
2008-06-10 15:04:14 +00:00
Matthijs Kooijman
d4f2f2e86f
Remove some debug output from tblgen. This fixes a test.
...
llvm-svn: 52177
2008-06-10 14:53:49 +00:00
Matthijs Kooijman
c62a5aaa1d
Fix some llvm-gcc warnings in testcases, mostly by adding includes or adding
...
declarations. These are the fixes that I was pretty confident about, there are
still a lot of other llvm-gcc warnings of which I'm not sure if they can be
safely ignored or fixed, without breaking the test case.
This fixes 11 testcases.
llvm-svn: 52176
2008-06-10 14:37:44 +00:00
Matthijs Kooijman
30a07a5504
For all RUN lines starting with "not", redirect stderr to /dev/null so tests
...
don't fail when (expected) error output is produced. This fixes 17 tests.
While I was there, I also made all RUN lines of the form "not llvm-as..." a bit
more consistent, they now all redirect stderr and stdout to /dev/null and use
input redirect to read their input.
llvm-svn: 52174
2008-06-10 12:57:32 +00:00
Matthijs Kooijman
d66e18aaf6
Suppress the (stderr) output of -aa-eval, this fixes 5 tests.
...
llvm-svn: 52173
2008-06-10 12:39:15 +00:00
Matthijs Kooijman
0747a60377
Change llvm.exp so it no longer ignores some errors when executing dejagnu
...
tests. This breaks 80 tests in the tree.
The interesting part here is that this no longer ignores syntax errors
in RUN command lines. Some tests have not been working all the time because of
this.
The tricky part is that it now also views any stderr output as an error. This
can be suppressed in tcl 8.5, but let's not add this dependency. Instead, all
testcases should be changed to redirect stderr if they expect stderr output.
This holds in particular for lines like:
; RUN: not llvm-as < %s
where an error is expected (but I think I can solve this by modifying the not
script). Also, compilations resulting in warnings will now also fail (so
the warnings should be fixed, disabled or redirected...).
I'll continue with fixing the testcases that are broken now.
llvm-svn: 52172
2008-06-10 12:28:43 +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
Gabor Greif
8030749993
adjust calls to ConstantFP::get to new API
...
llvm-svn: 52165
2008-06-10 01:52:17 +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
Dan Gohman
1b095b443c
Convert several tests to use temporary files instead of redundantly
...
executing the test commands.
llvm-svn: 52163
2008-06-10 00:36:41 +00:00
Argyrios Kyrtzidis
d0c1df4c84
Make CodeGenFunction::EmitDecl() recognise CXXClass/CXXStruct/CXXUnion.
...
llvm-svn: 52162
2008-06-09 23:42:47 +00:00
Argyrios Kyrtzidis
d8cb25ee90
Dump the name of CXXStruct/CXXUnion/CXXClass Decl subclasses.
...
llvm-svn: 52161
2008-06-09 23:36:53 +00:00
Argyrios Kyrtzidis
554a07bab3
-Changes to TagDecl:
...
Added TagKind enum.
Added getTagKind() method.
Added convenience methods: isEnum(), isStruct(), isUnion(), isClass().
-RecordDecl/CXXRecordDecl::Create() accept a TagKind enum instead of a DeclKind one.
llvm-svn: 52160
2008-06-09 23:19:58 +00:00
Dan Gohman
632a55e2cc
Fix two more not-grep tests that were missing llvm-dis.
...
llvm-svn: 52159
2008-06-09 22:36:45 +00:00