summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/implicit-int.c
Commit message (Collapse)AuthorAgeFilesLines
* Change __extension__ to disable only diagnostics controlled by -pedantic.Bob Wilson2011-10-121-5/+1
| | | | | | | | | | | | This changes clang to match GCC's behavior for __extension__, which temporarily disables the -pedantic flag. Warnings that are enabled without -pedantic are not affected. Besides the general goodness of matching GCC's precedent, my motivation for this is that macros in the arm_neon.h header need to use __extension__ to avoid pedantic complaints about their use of statement expressions, yet we still want to warn about incompatible pointer arguments for those macros. llvm-svn: 141804
* 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
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-3/+3
| | | | llvm-svn: 81346
* Fix bug in __extension__ handling for declarations, from AbramoDouglas Gregor2009-08-261-1/+1
| | | | | | Bagnara with a fix from Enea Zaffanella! llvm-svn: 80094
* Prep for new warning.Mike Stump2009-07-221-0/+1
| | | | llvm-svn: 76709
* change implicit int warnings to point to the identifier, not the Chris Lattner2009-04-221-2/+1
| | | | | | | | | | | | start of the declspec. The fixit still goes there, and we underline the declspec. This helps when the start of the declspec came from a macro that expanded from a system header. For example, we now produce: t.c:2:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static x; ~~~~~~ ^ llvm-svn: 69777
* Fix a regression in a previous patch that broke implicit Chris Lattner2009-04-141-0/+8
| | | | | | int in a bitfield. Shantonu found this in a gcc testsuite file. llvm-svn: 69074
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* fix PR#Chris Lattner2009-03-031-1/+1
| | | | llvm-svn: 65906
* fix PR2639Chris Lattner2009-03-021-0/+14
| | | | llvm-svn: 65869
* upgrade various 'implicit int' warnings from an ext-warn to warning when notChris Lattner2009-02-271-2/+8
| | | | | | | | in C89 mode. This makes it enabled by default instead of only enabled with -pedantic. Clang defaults to c99 mode, so people will see this more often than with GCC, but they can always use -std=c89 if they really want c89. llvm-svn: 65647
* Unspecified type specs default to int. This fixes a crashChris Lattner2007-07-131-0/+4
on test/Sema/implicit-int.c llvm-svn: 39833
OpenPOWER on IntegriCloud