diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-04-30 04:39:27 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-04-30 04:39:27 +0000 |
commit | 1e13c5a8fb9c9fbf24e90a86cc1e745fce0eac22 (patch) | |
tree | 147fa9a1d9cc212242c0e5ece21e1238e66b73a0 /clang/test/CodeGenCXX/constructors.cpp | |
parent | 526f504f0653de13b89a474c338cbd688ce01972 (diff) | |
download | bcm5719-llvm-1e13c5a8fb9c9fbf24e90a86cc1e745fce0eac22.tar.gz bcm5719-llvm-1e13c5a8fb9c9fbf24e90a86cc1e745fce0eac22.zip |
When we start the definition of a class template, set the
InjectedClassNameType's Decl to point at the definition. It's a little
messy, but we do the same thing with classes and their record types,
since much of Clang expects that the TagDecl* one gets out of a type
is the definition. Fixes several Boost.Proto failures.
llvm-svn: 102691
Diffstat (limited to 'clang/test/CodeGenCXX/constructors.cpp')
0 files changed, 0 insertions, 0 deletions