commit | e95b40961302c2130968ddfc3ba162e138f2118e | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Sep 16 18:34:49 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Sep 16 18:34:49 2009 +0000 |
tree | ae9af375b0a6cb7bf1a16b555508307537f8fda4 | |
parent | 59a53fa3f8ea73bae52ea36d0038f76e9f10729c [diff] |
Teach Sema::FindInstantiatedDecl to find instantiated RecordDecls even when we are not instantiating the corresponding "current instantiation." This happens, e.g., when we are instantiating a declaration reference that refers into the "current instantiation" but occurs in a default function argument. The libstdc++ vector default constructor now instantiates properly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82069 91177308-0d34-0410-b5e6-96231b3b80d8