summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/output_paste_avoid.c
Commit message (Collapse)AuthorAgeFilesLines
* Simplify logic for avoiding concatenation after numeric constants.Jordan Rose2013-02-081-39/+0
| | | | | | | I threw in a couple of test cases for UD-suffixes -- already working, but it wasn't immediately obvious to me. llvm-svn: 174767
* [Preprocessor] When checking if we can concatenate two tokens, checkArgyrios Kyrtzidis2013-01-291-0/+6
| | | | | | | | | | | | if they were already concatenated in source using the spelling locations even if they came from a macro expansion. This fixes an issue where a GUID passed as macro argument ends up malformed after preprocessing because we added spaces inside it. rdar://13016645 llvm-svn: 173826
* make the token paste avoidance logic turn "..." into ".. ." instead of ". . ."Chris Lattner2010-04-141-1/+4
| | | | | | when avoiding paste. Patch by David Peixotto! llvm-svn: 101218
* fix a bug in paste avoidance which would cause us to accidentallyChris Lattner2010-03-261-0/+4
| | | | | | form a >>=. Patch by Abramo Bagnara, testcase by me. llvm-svn: 99624
* 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
* fix testsNuno Lopes2009-10-271-1/+1
| | | | llvm-svn: 85223
* Convert Preprocessor Clang tests to FileCheck in regards to PR5307.Edward O'Callaghan2009-10-271-7/+10
| | | | llvm-svn: 85199
* apply Eli's patch to fix PR4008, with a testcase. Thanks Eli!Chris Lattner2009-04-211-7/+12
| | | | llvm-svn: 69750
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-3/+3
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Multiple tests in a single test file must be linked with '&&'.Argyrios Kyrtzidis2008-06-121-1/+1
| | | | | | Otherwise, failing tests other than the last one will not be reported. llvm-svn: 52231
* avoid pasting L + "foo" into L"foo".Chris Lattner2008-01-151-0/+6
| | | | llvm-svn: 46000
* new testcase for paste avoidanceChris Lattner2006-07-281-0/+12
llvm-svn: 38765
OpenPOWER on IntegriCloud