]> granicus.if.org Git - clang/commit
Fix a couple more issues related to r133854:
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 25 Jun 2011 02:28:38 +0000 (02:28 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 25 Jun 2011 02:28:38 +0000 (02:28 +0000)
commit1ab0d90af489b5441d0bf25338d420ddae3ece74
tree85779f0a1deed884c83838a0a23d182c7e92252f
parentdf7b091c58ccdb402a32bfbde9c506074dba5f3d
Fix a couple more issues related to r133854:

When performing semantic analysis on a member declaration, fix the check for whether we are declaring a function to check for parenthesized declarators, declaration via decltype, etc.

Also fix the semantic check to not treat FuncType* as a function type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133862 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/DeclSpec.cpp
lib/Sema/SemaDeclCXX.cpp
test/SemaCXX/virtuals.cpp