]> granicus.if.org Git - clang/commit
When parsing a cast-expression that starts with a scope annotation,
authorDouglas Gregor <dgregor@apple.com>
Fri, 23 Apr 2010 02:08:13 +0000 (02:08 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 23 Apr 2010 02:08:13 +0000 (02:08 +0000)
commit4074eefc4c2dc0c554f2e79f7114b309053f9885
tree968380caaac5d1285b8bc4e913afdaaf726895aa
parent08688ac8aaf02b565619181903319d32b546bcf5
When parsing a cast-expression that starts with a scope annotation,
try to annotate as a type first to determine whether we have a
functional-style cast. Patch by Eli Friedman, fixes PR6830.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102161 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseExpr.cpp
test/SemaCXX/qualified-id-lookup.cpp