hanchenye-llvm-project/clang/test/CXX/dcl.dcl
Anders Carlsson 7f84ed9287 Add CheckCallReturnType and start using it for regular call expressions. 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
2009-10-09 23:51:55 +00:00
..
basic.namespace Fix name lookup for friend class templates to consider anything in a 2009-09-26 07:05:09 +00:00
dcl.spec Add CheckCallReturnType and start using it for regular call expressions. This will improve error messages. For 2009-10-09 23:51:55 +00:00