Cope with parenthesized function declarators when emitting a
commit04391984e07a80c829ea760756880a8c8049c92e
authorDouglas Gregor <doug.gregor@gmail.com>
Thu, 27 Jan 2011 01:30:16 +0000 (27 01:30 +0000)
committerDouglas Gregor <doug.gregor@gmail.com>
Thu, 27 Jan 2011 01:30:16 +0000 (27 01:30 +0000)
treed30d6063f80f4acf2ec0f9a6a4706c11f4c36162
parent6490d1f9dbd3497d89bab0bc4f0b163b5330dc7a
Cope with parenthesized function declarators when emitting a
diagnostic about ref-qualifiers where they do not belong.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124344 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaType.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.fct/p6-0x.cpp