diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-09-16 18:34:49 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-09-16 18:34:49 +0000 |
| commit | e95b40961302c2130968ddfc3ba162e138f2118e (patch) | |
| tree | ae9af375b0a6cb7bf1a16b555508307537f8fda4 /lib/CodeGen/CGExpr.cpp | |
| parent | 59a53fa3f8ea73bae52ea36d0038f76e9f10729c (diff) | |
| download | clang-e95b40961302c2130968ddfc3ba162e138f2118e.tar.gz clang-e95b40961302c2130968ddfc3ba162e138f2118e.tar.bz2 clang-e95b40961302c2130968ddfc3ba162e138f2118e.tar.xz | |
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
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
