summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/stringize_space.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix whitespace before token-paste of an argument.James Y Knight2017-05-041-0/+11
| | | | | | | | | | | | | | | The whitespace should come from the argument name in the macro expansion, rather than from the token passed to the macro (same as it does when not pasting). Added a new test case for the change in behavior to stringize_space.c. FileCheck'ized macro_paste_commaext.c, tweaked the test case, and added a comment; no behavioral change to this test. Differential Revision: https://reviews.llvm.org/D30427 llvm-svn: 302195
* When copying whitespace flags from the token naming a macro argument onto theRichard Smith2016-01-151-0/+6
| | | | | | | | first token of the expansion, don't forget to copy the "is at the start of a line" token (which is always false, as newlines cannot appear within a macro body); otherwise, stringizing the result can insert spurious whitespace. llvm-svn: 257863
* FileCheck'ize and merge testsDmitri Gribenko2013-01-281-1/+11
| | | | llvm-svn: 173697
* 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
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* new testcaseChris Lattner2006-07-151-0/+4
llvm-svn: 38714
OpenPOWER on IntegriCloud