Improve function / variable disambiguation.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 7 May 2019 07:36:07 +0000 (07:36 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 7 May 2019 07:36:07 +0000 (07:36 +0000)
commitb30657938ce943a786de8b7dbb829c11003b74f5
treed67c79e492b5f676b1b5df38a3f27055e5f4a3ad
parentc094912ae53546b100b1c3ddc262345a235cea55
Improve function / variable disambiguation.

Keep looking for decl-specifiers after an unknown identifier. Don't
issue diagnostics about an error type specifier conflicting with later
type specifiers.

llvm-svn: 360117
clang/lib/Parse/ParseDecl.cpp
clang/lib/Parse/ParseTentative.cpp
clang/lib/Sema/DeclSpec.cpp
clang/test/CodeGen/builtins-ppc-altivec.c
clang/test/Parser/cxx-ambig-decl-expr.cpp