summaryrefslogtreecommitdiffstats
path: root/clang/test/FixIt/fixit-errors.c
Commit message (Collapse)AuthorAgeFilesLines
* Set the default C standard to C99 when targeting the PS4.Sunil Srivastava2016-04-271-0/+3
| | | | | | | | Patch by Douglas Yung! Differential Revision: http://reviews.llvm.org/D19003 llvm-svn: 267772
* Improve diagnostics if _Noreturn is placed after a function declarator. ↵Richard Smith2014-11-101-1/+9
| | | | | | (This sometimes happens when a macro is used that expands to either the GNU noreturn attribute or _Noreturn.) llvm-svn: 221630
* This test actually passes, just add the missing expected-errorDmitri Gribenko2013-01-251-3/+3
| | | | llvm-svn: 173504
* PR10867: Work around a bug in lit. Multiple RUN: lines are joined with &&, so:Richard Smith2011-09-061-1/+1
| | | | | | | | | | | | | | | | | RUN: foo RUN: bar || true is equivalent to: RUN: foo && bar || true which is equivalent to: RUN: (foo && bar) || true This resulted in several of the fixit tests not really testing anything. llvm-svn: 139132
* Minor tweak so that fixit-errors.c is never compiled; it crashes and pops up ↵Anders Carlsson2010-10-221-1/+1
| | | | | | a crash dialog on my system. llvm-svn: 117181
* Teach clang -fixit to modify files in-place, or -fixit=suffix to create newNick Lewycky2010-04-241-1/+3
| | | | | | files with the additional suffix in the middle. llvm-svn: 102230
* Teach -fixit to modify all of its inputs instead of just the main file, unlessNick Lewycky2010-04-151-0/+1
| | | | | | -fixit-at specified a particular fixit to fix, or the -o flag was used. llvm-svn: 101359
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - 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
* Update FixIt tests to make it more obvious they use a separate mode.Daniel Dunbar2009-11-141-1/+1
| | | | llvm-svn: 88758
* Rework the fix-it hint for code likeDouglas Gregor2009-11-061-0/+10
| | | | | | | | | | | get_origin->x where get_origin is actually a function and the user has forgotten the parentheses. Instead of giving a lame note for the fix-it, give a full-fledge error, early, then build the call expression to try to recover. llvm-svn: 86238
* Move the fix-it tests into their own subdirectoryDouglas Gregor2009-04-021-0/+10
llvm-svn: 68325
OpenPOWER on IntegriCloud