diff options
author | Alp Toker <alp@nuanti.com> | 2013-10-20 18:48:56 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2013-10-20 18:48:56 +0000 |
commit | 67b47ac0a76bdfa68d2191d7b78d253b0e084a8c (patch) | |
tree | 5edb0d3346927c8263f9ee38b712531808ce4232 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | d46e07e26e5256327eb38b092057b58547310b18 (diff) | |
download | bcm5719-llvm-67b47ac0a76bdfa68d2191d7b78d253b0e084a8c.tar.gz bcm5719-llvm-67b47ac0a76bdfa68d2191d7b78d253b0e084a8c.zip |
Fix crash in cleanup attr handling
ResolveSingleFunctionTemplateSpecialization() returns 0 and doesn't emit diags
unless the expression has template-ids, so we must null check the result.
Also add a better diag noting which overloads are causing the problem.
Reviewed by Aaron Ballman.
llvm-svn: 193055
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions