summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/pragma-weak.c
Commit message (Collapse)AuthorAgeFilesLines
* Update for llvm change.Rafael Espindola2014-07-301-10/+10
| | | | llvm-svn: 214356
* Fix a parser crash when there are #pragmas in a context which requires a singleRichard Smith2013-10-281-0/+22
| | | | | | statement (after a case label, if, etc). Patch by Olivier Goffart! llvm-svn: 193545
* Treat aliases as definitions.Rafael Espindola2013-10-221-16/+0
| | | | | | | | | | | | | | 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
* Make this test pass -verify.Rafael Espindola2013-10-211-2/+2
| | | | | | | | | Instead of using not, just drop the fastcall attribute which was causing an warning: calling convention 'fastcall' ignored for this target llvm-svn: 193110
* Don't hardcode the order of the aliases.Rafael Espindola2013-10-141-14/+14
| | | | llvm-svn: 192601
* CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵Stephen Lin2013-08-151-13/+13
| | | | | | tests fail. llvm-svn: 188447
* Add 'not' to commands that are expected to fail.Rafael Espindola2013-07-041-1/+1
| | | | | | | This is at least good documentation, but also opens the possibility of using pipefail. llvm-svn: 185652
* Fix testcases to not rely upon target-* attributes.Bill Wendling2013-02-261-7/+5
| | | | llvm-svn: 176135
* Revert "Add more attributes from the command line to functions."Anna Zaks2013-02-251-5/+7
| | | | | | | | This reverts commit 176009. The commit is a likely cause of several buildbot failures. llvm-svn: 176044
* Add more attributes from the command line to functions.Bill Wendling2013-02-251-7/+5
| | | | | | | This is an ongoing process. Any command line option which a back-end cares about should be added here. llvm-svn: 176009
* Modify the tests to use attribute group references instead of listing theBill Wendling2013-02-201-3/+8
| | | | | | function attributes. llvm-svn: 175606
* Update the tests.Bill Wendling2013-01-311-3/+3
| | | | | | | This update coincides with r174110. That change ordered the attributes alphabetically. llvm-svn: 174111
* People put pragmas in crazy places; add more handling. PR14046.Eli Friedman2012-10-091-0/+9
| | | | | | | 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
* Make sure the FunctionDecl's created by "#pragma weak" have correct ↵Eli Friedman2011-09-071-4/+11
| | | | | | ParmVarDecl's. PR10878. llvm-svn: 139224
* Fix PR8720 by printing an error message with a substring that the gcc ↵Rafael Espindola2010-12-071-1/+1
| | | | | | testsuite searches for. llvm-svn: 121137
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - 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
* convert this to filecheck, hopefully it will fix PR4888. If nothingChris Lattner2009-09-081-36/+43
| | | | | | else it will make tests run faster and make 4888 easier to diagnose. llvm-svn: 81238
* Fix test case for Darwin10 (which sets ssp), and move to CodeGen/Daniel Dunbar2009-08-041-0/+158
llvm-svn: 78049
OpenPOWER on IntegriCloud