summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/macro_paste_bad.c
Commit message (Collapse)AuthorAgeFilesLines
* revert r133003 and fix the bug properly: the issue was that ## in a tokenChris Lattner2011-06-141-7/+0
| | | | | | | | | | lexer is not a paste operator, it is a normal token. This fixes a conformance issue shown here: http://p99.gforge.inria.fr/c99-conformance/c99-conformance-clang-2.9.html and it defines away the crash from before. llvm-svn: 133005
* Fix a crash on the testcase in PR9981 / rdar://9486765.Chris Lattner2011-06-141-0/+6
| | | | llvm-svn: 133003
* 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
* update test for r72519Chris Lattner2009-05-281-4/+4
| | | | llvm-svn: 72520
* Make the bad paste diagnostic print the entire pasted token.Eli Friedman2009-05-271-1/+3
| | | | llvm-svn: 72497
* move token paste poisoning diagnostics to after the instantiation locChris Lattner2009-04-191-0/+13
| | | | | | | for a token is set, this makes the diagnostic "expanded from stack" work for this diagnostic. Add a testcase for PR3918. llvm-svn: 69544
* merge pragma poison tests into one file with -verify mode.Chris Lattner2009-04-191-2/+0
| | | | llvm-svn: 69538
* merge two testsChris Lattner2009-04-191-1/+18
| | | | llvm-svn: 69537
* convert to -verify mode.Chris Lattner2009-04-191-2/+2
| | | | llvm-svn: 69532
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Implement basic token pasting (## operator). This implementsChris Lattner2006-07-191-0/+5
test/Preprocessor/macro_paste_simple.c and macro_paste_bad.c. There are several known bugs still. llvm-svn: 38733
OpenPOWER on IntegriCloud