History log of /external/clang/test/Preprocessor/assembler-with-cpp.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fbfd6426e256f8be081260609d8fa88ae94ffe14 21-Oct-2013 Justin Bogner <mail@justinbogner.com> Lex: Don't restrict legal UCNs when preprocessing assembly

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193067 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/assembler-with-cpp.c
995544ef901f70589025c278e112547966a1df09 18-Jun-2013 Eli Friedman <eli.friedman@gmail.com> Make sure the assembler-with-cpp hack for "#" works with multiple "#"s in
succession. Fixes PR16363.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184240 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/assembler-with-cpp.c
ba3ca5271a01eae7cbd6a19ace004d75012c02a8 06-Jan-2011 Chris Lattner <sabre@nondot.org> fix rdar://8823139, a crash on a comment in a preprocessed .s file
that contains the ## operator.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122946 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/assembler-with-cpp.c
a5728872c7702ddd09537c95bc3cbd20e1f2fb09 15-Dec-2009 Daniel Dunbar <daniel@zuster.org> Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
- 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).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91446 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/assembler-with-cpp.c
78d5590d896cb95eea972754ad40735927ae585f 30-Nov-2009 Daniel Dunbar <daniel@zuster.org> Use '-FOO' 'BAR' instead of '-FOO=BAR' in tests.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90122 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/assembler-with-cpp.c
2475d76920b43014e661690836642ca3c9967179 08-Nov-2009 Daniel Dunbar <daniel@zuster.org> Remove RUN: true lines.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86432 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/assembler-with-cpp.c
4fcfde4d5c8f25e40720972a5543d538a0dcb220 08-Nov-2009 Daniel Dunbar <daniel@zuster.org> Eliminate &&s in tests.
- 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86430 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/assembler-with-cpp.c
8121ecdff86ef11e977bf23e6add42f513c52b36 27-Oct-2009 Nuno Lopes <nunoplopes@sapo.pt> fix tests

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85223 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/assembler-with-cpp.c
9b0cffe19ea19e29e3d868e25605278b0a48638b 27-Oct-2009 Edward O'Callaghan <eocallaghan@auroraux.org> Convert Preprocessor Clang tests to FileCheck in regards to PR5307.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85201 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/assembler-with-cpp.c
1eb4433ac451dc16f4133a88af2d002ac26c58ef 09-Sep-2009 Mike Stump <mrs@apple.com> Remove tabs, and whitespace cleanups.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81346 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/assembler-with-cpp.c
3240469102eca90fa5123ec9636fa0364df3034c 25-May-2009 Chris Lattner <sabre@nondot.org> Fix a couple of bugs:
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


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72388 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/assembler-with-cpp.c
c5b7e8d1c0ebbdbb3e6c81616498b9acc612e157 25-May-2009 Chris Lattner <sabre@nondot.org> fix this test to fail when the patch isn't applied.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72385 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/assembler-with-cpp.c
4c3ba6c1944e6a4758f1b3a0aec8a7ff4c561051 24-May-2009 Eli Friedman <eli.friedman@gmail.com> Make sure an invalid concatentaion doesn't insert whitespace before
the RHS. Fixes assembler-with-cpp issue reported on cfe-dev.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72370 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/assembler-with-cpp.c
c25d8058958d9cda0d9d6216b475180ba2f7c71d 22-May-2009 Daniel Dunbar <daniel@zuster.org> In assembler-with-cpp mode, don't error on '#' (stringize) operator applied to
non-argument names, pass the tokens through.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72283 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/assembler-with-cpp.c
f5db8f82d5e3b1be3540775329ccd95449fe8721 19-Apr-2009 Chris Lattner <sabre@nondot.org> fix rdar://6804322 by wiring up -fdollars-in-identifiers
with assembler-with-cpp mode.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69520 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/assembler-with-cpp.c
d7d5f0223bd30dfd618762349c6209dd1d5ea3e6 24-Mar-2009 Daniel Dunbar <daniel@zuster.org> Rename clang to clang-cc.

Tests and drivers updated, still need to shuffle dirs.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67602 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/assembler-with-cpp.c
f1538de18370c202263d7d1bc326cbc2c5434e1d 23-Mar-2009 Chris Lattner <sabre@nondot.org> The individual pieces of an invalid paste as still candidates for expansion.
This matters in assembler mode, where this is silently allowed.
This fixes rdar://6709206.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67539 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/assembler-with-cpp.c
e966d9ae3e2d0b021e6290f91fb90b28cf736d84 20-Mar-2009 Chris Lattner <sabre@nondot.org> add tests for the various .S bugs I fixed on wednesday.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67381 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/assembler-with-cpp.c
15154b40d405948f6cae7834a6145b243ea5f0b3 20-Mar-2009 Chris Lattner <sabre@nondot.org> rename this test from .S to .c so that it gets run.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67380 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/assembler-with-cpp.c