a72009d27cfd80657dfc701d98a6f74c5378cfd4 |
|
05-Nov-2013 |
David Majnemer <david.majnemer@gmail.com> |
Simplify test case added in r194059 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194061 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/macro_paste_bad.c
|
974cbc5e43c4aeb9bf4a6bb7ed2718a20a910437 |
|
05-Nov-2013 |
David Majnemer <david.majnemer@gmail.com> |
Lex: Require that '#' be followed by a macro parameter name when preceded by '##' After lexing a '##', we would look ahead and check to see if it was followed by '__VA_ARGS__'. After doing so, we would then go ahead and lex the token. However we would fail in the case where the '##' was followed by a '#' followed by an identifier because we would have lexed the '#' separately from the identifier, bypassing our parameter validation logic. Instead, lex the tokens coming after the '##' later. This fixes PR17804. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194059 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/macro_paste_bad.c
|
b11e43c31dc5d395a7ec6a07259c078dadd4f47b |
|
14-Jun-2011 |
Chris Lattner <sabre@nondot.org> |
revert r133003 and fix the bug properly: the issue was that ## in a token 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133005 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/macro_paste_bad.c
|
0e0b6931598be8a50ac5c6e0be595b35da276df9 |
|
14-Jun-2011 |
Chris Lattner <sabre@nondot.org> |
Fix a crash on the testcase in PR9981 / rdar://9486765. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133003 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/macro_paste_bad.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/macro_paste_bad.c
|
8c0d8a2cc4844ebed87842821930a0ebd3dc8924 |
|
28-May-2009 |
Chris Lattner <sabre@nondot.org> |
update test for r72519 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72520 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/macro_paste_bad.c
|
cfcceab862141b7cc3df42ced5f421d76e536a36 |
|
28-May-2009 |
Eli Friedman <eli.friedman@gmail.com> |
Make the bad paste diagnostic print the entire pasted token. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72497 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/macro_paste_bad.c
|
332ee08e2fe78fde281e0868ec039b546cb6e0f4 |
|
19-Apr-2009 |
Chris Lattner <sabre@nondot.org> |
move token paste poisoning diagnostics to after the instantiation loc for a token is set, this makes the diagnostic "expanded from stack" work for this diagnostic. Add a testcase for PR3918. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69544 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/macro_paste_bad.c
|
bf6044561cd167569be534142ee8fd393db88414 |
|
19-Apr-2009 |
Chris Lattner <sabre@nondot.org> |
merge pragma poison tests into one file with -verify mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69538 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/macro_paste_bad.c
|
db56df6e5ed0353767f8d3911b2c8648d75c8a55 |
|
19-Apr-2009 |
Chris Lattner <sabre@nondot.org> |
merge two tests git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69537 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/macro_paste_bad.c
|
b5e9cb4631877f60824447e1aff4fd2fa17f6d2c |
|
19-Apr-2009 |
Chris Lattner <sabre@nondot.org> |
convert to -verify mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69532 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/macro_paste_bad.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/macro_paste_bad.c
|
5f016e2cb5d11daeb237544de1c5d59f20fe1a6e |
|
11-Jul-2007 |
Reid Spencer <rspencer@reidspencer.com> |
Stage two of getting CFE top correct. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39734 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/macro_paste_bad.c
|