]> granicus.if.org Git - clang/commit
Properly protect colons when parsing a nested-name-specifier as part
authorJohn McCall <rjmccall@apple.com>
Wed, 6 Jul 2011 05:58:41 +0000 (05:58 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 6 Jul 2011 05:58:41 +0000 (05:58 +0000)
commit57c13008c634f47d8ca1b6aa9d7965d82a05c502
tree4fa9cf43827b3aa514e987f7b21ba21462f02cb8
parent8be80e1e6effd5a333bc70e7f030dc9397d0554e
Properly protect colons when parsing a nested-name-specifier as part
of an enum specifier in dialects which permit fixed underlying types.
Fixes the rejects-valid part of PR10264.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134468 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseDecl.cpp
test/SemaCXX/enum-scoped.cpp