summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/assembler-with-cpp.c
Commit message (Collapse)AuthorAgeFilesLines
* Lex: Don't restrict legal UCNs when preprocessing assemblyJustin Bogner2013-10-211-0/+3
| | | | | | | | | | | | | | | The C and C++ standards disallow using universal character names to refer to some characters, such as basic ascii and control characters, so we reject these sequences in the lexer. However, when the preprocessor isn't being used on C or C++, it doesn't make sense to apply these restrictions. Notably, accepting these characters avoids issues with unicode escapes when GHC uses the compiler as a preprocessor on haskell sources. Fixes rdar://problem/14742289 llvm-svn: 193067
* Make sure the assembler-with-cpp hack for "#" works with multiple "#"s inEli Friedman2013-06-181-0/+4
| | | | | | succession. Fixes PR16363. llvm-svn: 184240
* fix rdar://8823139, a crash on a comment in a preprocessed .s fileChris Lattner2011-01-061-0/+5
| | | | | | that contains the ## operator. llvm-svn: 122946
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-2/+2
| | | | | | | | | - 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
* Use '-FOO' 'BAR' instead of '-FOO=BAR' in tests.Daniel Dunbar2009-11-301-2/+2
| | | | llvm-svn: 90122
* Remove RUN: true lines.Daniel Dunbar2009-11-081-1/+0
| | | | llvm-svn: 86432
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-2/+2
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* fix testsNuno Lopes2009-10-271-2/+2
| | | | llvm-svn: 85223
* Convert Preprocessor Clang tests to FileCheck in regards to PR5307.Edward O'Callaghan2009-10-271-18/+16
| | | | llvm-svn: 85201
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-1/+1
| | | | llvm-svn: 81346
* Fix a couple of bugs:Chris Lattner2009-05-251-6/+12
| | | | | | | | | | | | 1. When we accept "#garbage" in asm-with-cpp mode, change the token kind of the # to unknown so that the preprocessor won't try to process it as a real #. This fixes a crash on the attached example 2. Fix macro definition extents processing to handle #foo at the end of a macro to say the definition ends with the foo, not the #. This is a follow-on fix to r72283, and rdar://6916026 llvm-svn: 72388
* fix this test to fail when the patch isn't applied.Chris Lattner2009-05-251-1/+1
| | | | llvm-svn: 72385
* Make sure an invalid concatentaion doesn't insert whitespace before Eli Friedman2009-05-241-0/+5
| | | | | | the RHS. Fixes assembler-with-cpp issue reported on cfe-dev. llvm-svn: 72370
* In assembler-with-cpp mode, don't error on '#' (stringize) operator applied toDaniel Dunbar2009-05-221-0/+10
| | | | | | non-argument names, pass the tokens through. llvm-svn: 72283
* fix rdar://6804322 by wiring up -fdollars-in-identifiersChris Lattner2009-04-191-1/+10
| | | | | | with assembler-with-cpp mode. llvm-svn: 69520
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* The individual pieces of an invalid paste as still candidates for expansion.Chris Lattner2009-03-231-0/+11
| | | | | | | This matters in assembler mode, where this is silently allowed. This fixes rdar://6709206. llvm-svn: 67539
* add tests for the various .S bugs I fixed on wednesday.Chris Lattner2009-03-201-2/+32
| | | | llvm-svn: 67381
* rename this test from .S to .c so that it gets run.Chris Lattner2009-03-201-0/+6
llvm-svn: 67380
OpenPOWER on IntegriCloud