]> granicus.if.org Git - clang/commit
Parse the initializer for a class member after handling its
authorDouglas Gregor <dgregor@apple.com>
Mon, 10 Oct 2011 14:49:18 +0000 (14:49 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 10 Oct 2011 14:49:18 +0000 (14:49 +0000)
commit147545d698972cfd34ece30a5d55e8180784161e
tree596d4b9451a02b67059816484b580445591c37f8
parent25aaff9cf8a66bc236e5ccaf6183d11c14674cd3
Parse the initializer for a class member after handling its
declarator, so that the declarator is in scope for the
initializer. Fixes PR9989.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141539 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Parse/ParseCXXInlineMethods.cpp
lib/Parse/ParseDeclCXX.cpp
lib/Sema/SemaDeclCXX.cpp
test/SemaCXX/class.cpp