David Blaikie
fc473554a6
[opaque pointer type] update test cases for explicit pointee types on global aliases
...
llvm-svn: 247380
2015-09-11 03:22:18 +00:00
Rafael Espindola
42affc2db6
Update for llvm change.
...
llvm-svn: 214356
2014-07-30 22:52:16 +00:00
Richard Smith
426a47bddb
Fix a parser crash when there are #pragmas in a context which requires a single
...
statement (after a case label, if, etc). Patch by Olivier Goffart!
llvm-svn: 193545
2013-10-28 22:04:30 +00:00
Rafael Espindola
d53ffa0a70
Treat aliases as definitions.
...
This fixes pr17639.
Before this patch clang would consider
void foo(void) __attribute((alias("__foo")));
a declaration. It now correctly handles it as a definition.
Initial patch by Alp Toker. I added support for variables.
llvm-svn: 193200
2013-10-22 21:39:03 +00:00
Rafael Espindola
156f634aa1
Make this test pass -verify.
...
Instead of using not, just drop the fastcall attribute which was causing
an warning:
calling convention 'fastcall' ignored for this target
llvm-svn: 193110
2013-10-21 19:48:28 +00:00
Rafael Espindola
e8d060dba9
Don't hardcode the order of the aliases.
...
llvm-svn: 192601
2013-10-14 16:05:12 +00:00
Stephen Lin
4362261b00
CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail.
...
llvm-svn: 188447
2013-08-15 06:47:53 +00:00
Rafael Espindola
925213b0fa
Add 'not' to commands that are expected to fail.
...
This is at least good documentation, but also opens the possibility of
using pipefail.
llvm-svn: 185652
2013-07-04 16:16:58 +00:00
Bill Wendling
d02fd83182
Fix testcases to not rely upon target-* attributes.
...
llvm-svn: 176135
2013-02-26 23:08:48 +00:00
Anna Zaks
0f424b029b
Revert "Add more attributes from the command line to functions."
...
This reverts commit 176009.
The commit is a likely cause of several buildbot failures.
llvm-svn: 176044
2013-02-25 19:51:03 +00:00
Bill Wendling
87869db5f5
Add more attributes from the command line to functions.
...
This is an ongoing process. Any command line option which a back-end cares about
should be added here.
llvm-svn: 176009
2013-02-25 07:15:16 +00:00
Bill Wendling
c33fc4c004
Modify the tests to use attribute group references instead of listing the
...
function attributes.
llvm-svn: 175606
2013-02-20 07:22:19 +00:00
Bill Wendling
85ab57ac5d
Update the tests.
...
This update coincides with r174110. That change ordered the attributes
alphabetically.
llvm-svn: 174111
2013-01-31 23:17:12 +00:00
Eli Friedman
bbbbac6012
People put pragmas in crazy places; add more handling. PR14046.
...
I think our general framework for parser pragmas needs a bit more work,
but I'm not planning on working on it at the moment.
llvm-svn: 165558
2012-10-09 22:46:54 +00:00
Eli Friedman
ce3e2c85b1
Make sure the FunctionDecl's created by "#pragma weak" have correct ParmVarDecl's. PR10878.
...
llvm-svn: 139224
2011-09-07 04:05:06 +00:00
Rafael Espindola
0017c5fa92
Fix PR8720 by printing an error message with a substring that the gcc testsuite searches for.
...
llvm-svn: 121137
2010-12-07 15:23:23 +00:00
Daniel Dunbar
8fbe78f6fc
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
...
- This is designed to make it obvious that %clang_cc1 is a "test variable"
which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it
can be useful to redefine what gets run as 'clang -cc1' (for example, to set
a default target).
llvm-svn: 91446
2009-12-15 20:14:24 +00:00
Chris Lattner
6426345b8f
convert this to filecheck, hopefully it will fix PR4888. If nothing
...
else it will make tests run faster and make 4888 easier to diagnose.
llvm-svn: 81238
2009-09-08 18:43:45 +00:00
Daniel Dunbar
e9863976b3
Fix test case for Darwin10 (which sets ssp), and move to CodeGen/
...
llvm-svn: 78049
2009-08-04 04:38:31 +00:00