llvm-project/clang/test/Preprocessor
Chris Lattner d330036c06 The awesome GNU "comma elision extension" works with both the standard
__VA_ARGS__ syntax as well as with the amazingly awesome GNU "named 
variadic macro" extension.  Allow it with the GNU syntax as well.

llvm-svn: 50843
2008-05-08 05:10:33 +00:00
..
_Pragma-dependency.c new testcase 2006-07-03 06:28:30 +00:00
_Pragma-location.c new testcase 2006-07-02 22:59:48 +00:00
_Pragma-physloc.c new testcase 2006-07-02 22:27:09 +00:00
_Pragma-poison.c Make this testcase pass the right arg. 2006-08-06 18:31:20 +00:00
_Pragma-syshdr.c new testcase 2006-07-02 21:23:03 +00:00
_Pragma-syshdr2.c new testcase 2006-07-03 05:25:52 +00:00
builtin_line.c Fix the predicate to be more strict 2006-06-29 16:43:46 +00:00
c99-6_10_3_3_p4.c new testcase 2006-07-29 07:19:41 +00:00
c99-6_10_3_4_p5.c testcase from the c99 standard 2006-07-29 06:48:55 +00:00
c99-6_10_3_4_p6.c new testcase 2006-07-29 06:59:47 +00:00
c99-6_10_3_4_p7.c new testcase 2006-07-29 07:08:39 +00:00
c99-6_10_3_4_p9.c new testcase 2006-07-29 07:19:41 +00:00
comment_save.c Testcases for comment saving modes, -C and -CC. 2006-07-29 06:41:10 +00:00
comment_save_if.c new testcase 2006-10-27 05:43:33 +00:00
comment_save_macro.c Testcases for comment saving modes, -C and -CC. 2006-07-29 06:41:10 +00:00
cxx_and.cpp Add support for C++ operator keywords. Patch by Bill Wendling. 2006-11-21 17:23:33 +00:00
cxx_bitand.cpp Add support for C++ operator keywords. Patch by Bill Wendling. 2006-11-21 17:23:33 +00:00
cxx_bitor.cpp Add support for C++ operator keywords. Patch by Bill Wendling. 2006-11-21 17:23:33 +00:00
cxx_compl.cpp Add support for C++ operator keywords. Patch by Bill Wendling. 2006-11-21 17:23:33 +00:00
cxx_not.cpp Add support for C++ operator keywords. Patch by Bill Wendling. 2006-11-21 17:23:33 +00:00
cxx_not_eq.cpp Add support for C++ operator keywords. Patch by Bill Wendling. 2006-11-21 17:23:33 +00:00
cxx_oper_keyword.cpp improve this test to also check -fno-operator-keywords. 2006-12-04 18:00:36 +00:00
cxx_oper_spelling.cpp check minutia of the standard. 2006-11-21 17:31:32 +00:00
cxx_or.cpp Add support for C++ operator keywords. Patch by Bill Wendling. 2006-11-21 17:23:33 +00:00
cxx_true.cpp Fix run line 2007-04-10 07:06:36 +00:00
cxx_xor.cpp Add support for C++ operator keywords. Patch by Bill Wendling. 2006-11-21 17:23:33 +00:00
disabled-cond-diags.c Initial checkin of testsuite 2006-06-18 05:42:02 +00:00
expr_comma.c Fix the rest of PR2279: 2008-05-04 18:36:18 +00:00
expr_invalid_tok.c Fix a few more bugs in preprocessor expressions w.r.t. ?:. Now I 2008-05-05 20:07:41 +00:00
expr_liveness.c Fix a few more bugs in preprocessor expressions w.r.t. ?:. Now I 2008-05-05 20:07:41 +00:00
expr_usual_conversions.c Fix PR2279 part C: shifts don't perform the UACs, thanks to Neil 2008-05-04 18:25:32 +00:00
file_to_include.h utility file 2006-06-18 07:18:04 +00:00
function_macro_file.c Correctly respect C99 5.1.1.2p4 when searching for the first '(' of 2007-07-19 00:07:36 +00:00
function_macro_file.h Correctly respect C99 5.1.1.2p4 when searching for the first '(' of 2007-07-19 00:07:36 +00:00
hash_line.c Initial checkin of testsuite 2006-06-18 05:42:02 +00:00
hash_space.c Initial checkin of testsuite 2006-06-18 05:42:02 +00:00
if_warning.c add support for -Wundef. 2008-01-23 17:19:46 +00:00
ifdef-recover.c Use the -E option when invoking clang. Only the preprocessor is 2008-03-21 07:02:04 +00:00
import_self.c fix a bug Steve noticed, where a #import of the main file itself would fail. 2007-11-15 19:07:47 +00:00
includeexpand.c Use the -E option when invoking clang. Only the preprocessor is 2008-03-21 07:02:04 +00:00
includeexpand2.c implement a missing feature in the #include handler, where 2007-07-23 04:56:47 +00:00
indent_macro.c Initial checkin of testsuite 2006-06-18 05:42:02 +00:00
macro_arg_keyword.c new testcase 2006-10-20 05:08:12 +00:00
macro_defined.c new testcase 2006-07-03 01:26:39 +00:00
macro_disable.c new testcase 2006-07-19 08:13:21 +00:00
macro_disable2.c new testcase 2006-07-19 08:13:21 +00:00
macro_disable3.c new testcase 2006-07-27 06:17:55 +00:00
macro_disable4.c Fix PR1820, an incredibly subtle macro expansion bug that Neil discovered. 2007-11-23 06:50:21 +00:00
macro_expand.c new testcase 2006-10-06 02:59:40 +00:00
macro_expandloc.c new testcase 2006-06-26 01:25:11 +00:00
macro_expandloc2.c New testcase 2006-06-26 01:26:26 +00:00
macro_fn_comma_swallow.c new testcase for the GNU comma swallow extension. 2006-07-29 04:39:12 +00:00
macro_fn_disable_expand.c Make this testcase more interesting, actually add a RUN line. 2006-07-19 06:34:41 +00:00
macro_fn_lparen_scan.c new tests 2006-07-11 05:03:43 +00:00
macro_fn_lparen_scan2.c Tweak expected results do to paste avoidance. 2006-07-28 06:55:35 +00:00
macro_fn_placemarker.c new testcase for placemarker handling. 2006-07-29 04:09:49 +00:00
macro_fn_preexpand.c Make this testcase more interesting, actually add run lines :) 2006-07-19 05:48:15 +00:00
macro_fn_varargs_iso.c new testcase for __VA_ARGS__ 2006-07-29 04:03:59 +00:00
macro_fn_varargs_named.c The awesome GNU "comma elision extension" works with both the standard 2008-05-08 05:10:33 +00:00
macro_not_define.c new testcase 2006-07-19 08:13:21 +00:00
macro_paste_bad.c Implement basic token pasting (## operator). This implements 2006-07-19 05:42:48 +00:00
macro_paste_bcpl_comment.c Move LexingRawMode handling of file EOF out of the preprocessor into the 2006-07-19 06:31:49 +00:00
macro_paste_c_block_comment.c Avoid testing / ## * in the lexer. This will cause an unhelpful error message 2006-07-19 06:32:35 +00:00
macro_paste_commaext.c Fix a bug where we would incorrectly emit a "cannot paste" error 2008-01-29 07:54:23 +00:00
macro_paste_empty.c Add test for pasting empty formals 2006-07-28 05:13:36 +00:00
macro_paste_hard.c Add test for pasting empty formals 2006-07-28 05:13:36 +00:00
macro_paste_hashhash.c new testcase 2006-07-19 08:01:28 +00:00
macro_paste_mscomment.c fix this test. 2008-03-22 00:07:50 +00:00
macro_paste_none.c new testcase 2006-07-29 06:44:19 +00:00
macro_paste_simple.c add runline, make this test real. 2007-12-12 06:20:18 +00:00
macro_paste_spacing.c Fix test/Preprocessor/macro_paste_spacing.c 2006-07-19 05:45:55 +00:00
macro_rescan.c Tweak expected results do to paste avoidance. 2006-07-28 06:55:35 +00:00
macro_rescan2.c new testcase from c99 rationale 2006-07-19 08:04:22 +00:00
macro_rescan_varargs.c new testcase 2006-07-29 07:32:40 +00:00
macro_rparen_scan.c new testcase 2006-07-19 06:40:07 +00:00
macro_rparen_scan2.c add run line 2007-12-12 06:20:40 +00:00
macro_space.c Initial checkin of testsuite 2006-06-18 05:42:02 +00:00
mi_opt.c Fix a nasty corner case that Neil noticed in PR1900, where we would 2008-01-07 19:50:27 +00:00
mi_opt.h Fix a nasty corner case that Neil noticed in PR1900, where we would 2008-01-07 19:50:27 +00:00
output_paste_avoid.c avoid pasting L + "foo" into L"foo". 2008-01-15 05:22:14 +00:00
paste_bad.c make this harder 2006-10-25 06:21:19 +00:00
poison.c New testcases 2006-06-25 05:40:49 +00:00
poison_expansion.c New testcases 2006-06-25 05:40:49 +00:00
pr2086.c Fix PR2086. 2008-02-25 19:03:15 +00:00
pr2086.h Fix PR2086. 2008-02-25 19:03:15 +00:00
pragma_unknown.c new testcase 2006-07-02 21:50:31 +00:00
print_line_track.c The flags on tokens indicate whether they are the start of a *physical* line, 2007-12-09 21:11:08 +00:00
stringize_misc.c new testcase 2006-07-30 07:20:09 +00:00
stringize_space.c new testcase 2006-07-15 06:53:24 +00:00
stringize_space2.c Fix a stringizing bug that Neil noticed. We should preprocess this: 2007-07-19 16:11:58 +00:00
undef-error.c Fix CheckEndOfDirective to diagnose lines that contain macros that expand to 2008-02-16 01:20:36 +00:00