summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/pointer-addition.c
Commit message (Collapse)AuthorAgeFilesLines
* Congruent diagnostic for void* arithmetic.Abramo Bagnara2010-09-131-0/+1
| | | | llvm-svn: 113740
* 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
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Make one expected-diag directive match exactly one actual diagnostic.Sebastian Redl2009-02-071-1/+1
| | | | | | This uncovers some bugs, so several test cases now fail. llvm-svn: 64025
* Support arithmetic on pointer-to-function types as a GNUDouglas Gregor2009-01-231-2/+7
| | | | | | extension. Addresses clang PR/3371. llvm-svn: 62823
* Centralize error reporting of improper uses of incomplete types in theDouglas Gregor2009-01-191-3/+3
| | | | | | | | | | new DiagnoseIncompleteType. It provides additional information about struct/class/union/enum types when possible, either by pointing to the forward declaration of that type or by pointing to the definition (if we're in the process of defining that type). Fixes <rdar://problem/6500531>. llvm-svn: 62521
* Add proper type-checking for pointer additiion; before, we were acceptingEli Friedman2008-05-181-0/+14
addition with a pointer and an integer even when it didn't make sense. llvm-svn: 51228
OpenPOWER on IntegriCloud