]> granicus.if.org Git - clang/commit
The member classes of a current instantiation aren't necessarily a
authorDouglas Gregor <dgregor@apple.com>
Sat, 19 Feb 2011 19:24:40 +0000 (19:24 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 19 Feb 2011 19:24:40 +0000 (19:24 +0000)
commitd9ea180032eda76a46c099a9aab99512447c326d
tree9ab7ee1b851c23a636fb6c61cc08e5531e83c472
parente41721e7dfabcc15cb50be9075a4153f1ad648ea
The member classes of a current instantiation aren't necessarily a
current instantiation, even though we have a RecordDecl describing
them. Fixes PR9255.

Amusingly, I've had this patch sitting around for a month or two
because it was "obviously" wrong, but hadn't gotten around to writing
a test case to submit the fix :)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126038 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCXXScopeSpec.cpp
test/SemaTemplate/current-instantiation.cpp