]> granicus.if.org Git - clang/commit
Be more careful around dependent nested-name-specifiers, complaining
authorDouglas Gregor <dgregor@apple.com>
Sat, 24 Apr 2010 16:38:41 +0000 (16:38 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 24 Apr 2010 16:38:41 +0000 (16:38 +0000)
commit48c89f4aa708e28310cb0c94b2d9d044b0ab806c
tree5eae1b37444f8cc0ed855d1ce1ab7145101f88fa
parent80971bdba20b5b280a00b7b9829026b33d3206f9
Be more careful around dependent nested-name-specifiers, complaining
when they are not complete (since we could not match them up to
anything) and ensuring that enum parsing can cope with dependent
elaborated-type-specifiers. Fixes PR6915 and PR6649.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102247 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Parse/ParseDecl.cpp
lib/Sema/SemaCXXScopeSpec.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaTemplate.cpp
test/SemaTemplate/elaborated-type-specifier.cpp [new file with mode: 0644]