summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-12-28 09:18:54 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-12-28 09:18:54 +0000
commit738e58799c9a4816e560d36625b637a7ede024ec (patch)
tree3356f60cfe1ff0d7ac612b590a8413d40db44b32 /llvm/lib/CodeGen
parent87700a734d9ab7174750cf56c65dc9863952a584 (diff)
downloadbcm5719-llvm-738e58799c9a4816e560d36625b637a7ede024ec.tar.gz
bcm5719-llvm-738e58799c9a4816e560d36625b637a7ede024ec.zip
Sema: Don't crash when an inject class name has a nested redefinition
We expected the type of a TagDecl to be a TagType, not an InjectedClassNameType. Introduced a helper method, Type::getAsTagDecl, to abstract away the difference; redefine Type::getAsCXXRecordDecl to be in terms of it. llvm-svn: 224898
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud