summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/incomplete-call.c
Commit message (Collapse)AuthorAgeFilesLines
* Emit a -Wnull-dereference warning for "*null" not just "*null = something". ↵Argyrios Kyrtzidis2011-04-261-3/+3
| | | | | | Addresses rdar://9269271. llvm-svn: 130207
* 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
* Add CheckCallReturnType and start using it for regular call expressions. ↵Anders Carlsson2009-10-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | This will improve error messages. For struct B; B f(); void g() { f(); } We now get t.cpp:6:3: error: calling 'f' with incomplete return type 'struct B' f(); ^~~ t.cpp:3:3: note: 'f' declared here B f(); ^ t.cpp:1:8: note: forward declaration of 'struct B' struct B; ^ llvm-svn: 83692
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Add testcase for incomplete call/return types for calls.Eli Friedman2009-03-221-0/+13
llvm-svn: 67486
OpenPOWER on IntegriCloud