aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/preprocessor
AgeCommit message (Expand)AuthorFilesLines
2020-08-09Merge branch 'empty-char' into nextLuc Van Oostenryck1-0/+13
2020-07-30fix diagnostic source path from command lineLuc Van Oostenryck1-0/+11
2020-07-22delay 'empty character constant' warning to phase 5Luc Van Oostenryck1-0/+13
2020-07-06predefine: add testcase for multi-token predefinesLuc Van Oostenryck1-0/+5
2020-06-23teach sparse about __STDC_HOSTED__Luc Van Oostenryck2-0/+22
2020-06-18pre-process: add support for __has_feature() & __has_extension()Luc Van Oostenryck1-1/+0
2020-06-18pre-process: add testcases for __has_feature() & __has_extension()Luc Van Oostenryck1-0/+21
2020-03-16cpp: fix redefinition of a macro during its own expansionLuc Van Oostenryck1-0/+20
2020-03-15cpp: remove extra newlines during macro expansionLuc Van Oostenryck3-9/+16
2020-03-15cpp: silently allow conditional directives within a macroLuc Van Oostenryck2-1/+41
2020-03-15make "directive in macro's argument list" a warningOleg Nesterov1-4/+4
2019-11-28arch: add predefines for INT128 only on supported archsLuc Van Oostenryck1-0/+2
2019-10-01make 'directive in argument list' clearerLuc Van Oostenryck1-4/+4
2018-12-17Merge branch 'predefs' into tipv0.6.0-rc1Luc Van Oostenryck8-59/+93
2018-12-17add predefined macros for [u]int32_tLuc Van Oostenryck1-0/+2
2018-12-17add predefined macros for [u]int64_tLuc Van Oostenryck1-0/+2
2018-12-17add predefined macros for [u]int{8,16}_tLuc Van Oostenryck1-0/+4
2018-12-17add predefined macros for [u]intmaxLuc Van Oostenryck1-0/+2
2018-12-17add predefined macros for [u]intptrLuc Van Oostenryck1-0/+2
2018-12-17make predefined_type_size() more genericLuc Van Oostenryck2-0/+12
2018-12-14fix '__SIZE_TYPE__' for LLP64Luc Van Oostenryck1-1/+0
2018-12-14testsuite: test predef macros on LP32/LP64/LLP64Luc Van Oostenryck7-59/+70
2018-12-09Merge branch 'dump-macros'Luc Van Oostenryck2-0/+52
2018-12-09don't allow newlines inside string literalsLuc Van Oostenryck1-3/+2
2018-12-08add testcase for missing deliminator ' or "Luc Van Oostenryck1-0/+18
2018-11-29Ignore #ident directivesJohn Levon2-0/+24
2018-11-24pre-process: add the -dM option to dump macro definitionsRamsay Jones2-0/+42
2018-11-24pre-process: print variable argument macros correctlyRamsay Jones1-0/+5
2018-11-24pre-process: don't put spaces in macro parameter listRamsay Jones1-1/+1
2018-11-24pre-process: print macros containing # and ## correctlyRamsay Jones1-0/+5
2018-09-01has-attr: add support for __has_attribute()Luc Van Oostenryck1-1/+0
2018-09-01has-attr: add testcase for __has_attribute()Luc Van Oostenryck1-0/+57
2018-06-12Merge branches 'has-builtin' and 'builtin-predef' into tipLuc Van Oostenryck7-0/+131
2018-06-08builtin: add support for __has_builtin()Luc Van Oostenryck1-0/+43
2018-06-08builtin: add testcase for builtin macro expansionLuc Van Oostenryck1-0/+17
2018-06-04dyn-macro: add real support for __BASE_FILE__Luc Van Oostenryck3-0/+23
2018-06-04dyn-macro: add support for __INCLUDE_LEVEL__Luc Van Oostenryck3-0/+19
2018-06-04dyn-macro: use a table to expand __DATE__, __FILE__, ...Luc Van Oostenryck1-1/+0
2018-06-04dyn-macro: add testcase for __LINE__ & friendsLuc Van Oostenryck1-0/+30
2018-05-01do not to ignore old preprocessor testcasesLuc Van Oostenryck2-0/+84
2017-12-16fix: spaces in macro definition on the command lineLuc Van Oostenryck1-1/+0
2017-12-16add test case for space within command lineLuc Van Oostenryck1-0/+11
2017-12-13fix: accept 'sparse -D M...'Luc Van Oostenryck1-1/+0
2017-12-13add testcase for 'sparse -D M...'Luc Van Oostenryck1-0/+13
2017-11-13add test case for pre-processor extra tokens warningLuc Van Oostenryck1-0/+15
2017-09-16testsuite: convert to the new patern syntaxLuc Van Oostenryck3-3/+3
2017-08-31Sparse preprocessing bug with zero-arg variadic macrosAl Viro1-0/+4
2017-05-19let -dD report macro definitionsLuc Van Oostenryck3-0/+32
2017-03-27do not depends on limits.h to test __CHAR_BIT__Luc Van Oostenryck1-0/+16
2017-03-27predefine __SIZEOF_INT__ & friendsLuc Van Oostenryck1-0/+25
2017-03-27predefine __INT_MAX__ and friendsLuc Van Oostenryck1-0/+18
2017-02-13warn on unknown escapes after preprocessingLuc Van Oostenryck1-1/+0
2017-02-13add testcase for wrong early escape conversionLuc Van Oostenryck1-0/+23
2015-02-08Teach sparse about the __COUNTER__ predefined macroLuc Van Oostenryck4-0/+41
2013-02-12L ## 'a' is valid; so's L ## "a"Al Viro1-0/+15
2013-02-12switch to delayed handling of escape sequencesAl Viro1-0/+29
2012-04-13Fix ,##__VA_ARGS__ kludgeAl Viro2-1/+47
2011-08-20fix common misspellings with codespellJonathan Neuschäfer1-1/+1
2009-07-27test-suite: integrate unhandled proprocessor testsHannes Eder9-0/+142
2007-07-22Fix test-suite to handle stdout and stderr separately, and fix up testsJosh Triplett3-9/+11
2007-07-08Remove "check-exit-value: 0" and rely on default; remove extra blank line.Josh Triplett12-19/+0
2007-07-08Add test-suite comment to preprocessor21.Josh Triplett1-0/+14
2007-07-08Make preprocessor-loop a normal numbered preprocessor testJosh Triplett1-0/+0
2007-07-08Add test-suite comments to all the obvious preprocessor testsJosh Triplett8-34/+103
2007-07-08validation: Update comments for current Sparse behavior and test-suite.Josh Triplett3-41/+4
2007-07-08Sample test-suite test casesDamien Lespiau4-0/+49
2007-06-28Move all the preprocessor tests into validation/preprocessor/Josh Triplett22-0/+242