]> granicus.if.org Git - clang/commit
When adding initializers to a constructor, be sure that we are looking
authorDouglas Gregor <dgregor@apple.com>
Fri, 26 Mar 2010 22:43:07 +0000 (22:43 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 26 Mar 2010 22:43:07 +0000 (22:43 +0000)
commitd6068482648a366ac9fc297a84780e922ab63a7a
treeb683b69013ca0faee3d9bad9cd4228dd9deaef27
parent3bc96eb2246cae9c0a7ece1cb051d28313162936
When adding initializers to a constructor, be sure that we are looking
through the bases and fields of the definition of the class in which
the constructor is declared, rather than some other declaration of
that class.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99661 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp
test/CodeGenCXX/constructor-init.cpp