]> granicus.if.org Git - clang/commit
Tighten up the "cannot return array or function type" diagnostic to
authorDouglas Gregor <dgregor@apple.com>
Mon, 11 Jan 2010 18:46:21 +0000 (18:46 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 11 Jan 2010 18:46:21 +0000 (18:46 +0000)
commit58408bc4ead86b08af56cd06fc966fd858b48b2d
tree0223532edc535ef21cb0eaaf21eb8c715f4b732d
parent48026d26fb58e413544874eead5491b1452e2ebf
Tighten up the "cannot return array or function type" diagnostic to
say either "array type" or "function type", whichever it is. No reason
to make the user guess.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93164 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaType.cpp
test/Sema/declspec.c
test/Sema/invalid-decl.c