aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-08-26 18:27:52 +0000
committerDouglas Gregor <dgregor@apple.com>2009-08-26 18:27:52 +0000
commit5e0962f944c80f66bfccff18a4c072c8b28fc7ab (patch)
tree0910b146880277f110b622930bd82ab691e60759 /llvm/lib/CodeGen/MachineModuleInfo.cpp
parentf571c11d54b4ee1b94217bf9f6ade057f105bf50 (diff)
downloadllvm-5e0962f944c80f66bfccff18a4c072c8b28fc7ab.zip
llvm-5e0962f944c80f66bfccff18a4c072c8b28fc7ab.tar.gz
llvm-5e0962f944c80f66bfccff18a4c072c8b28fc7ab.tar.bz2
When we know that we are parsing a class-name, implicitly construct a
TypenameType if getTypeName is looking at a member of an unknown specialization. This allows us to properly parse class templates that derived from type that could only otherwise be described by a typename type, e.g., template<class T> struct X {}; template<typename T> struct Y : public X<T>::X { }; Fixes PR4381. llvm-svn: 80123
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions