]> granicus.if.org Git - clang/commit
Don't produce redundant parentheses warning for "A (::B);" and the like.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 21 Dec 2017 20:50:39 +0000 (20:50 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 21 Dec 2017 20:50:39 +0000 (20:50 +0000)
commit0cfb502ef74bf3e9444debaad649f928179136be
treefa8cd15b0daf08df5f6753ea58c6fd797d5123c9
parentaf137029ce54502d43a9048fb8de191f94a53832
Don't produce redundant parentheses warning for "A (::B);" and the like.

The parentheses here are not redundant as they affect the binding of the
'::' token.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@321304 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaType.cpp
test/Parser/cxx-decl.cpp