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 | 8b407727aef487051835440deb641e60f7a743f8 (patch) | |
| tree | cb9811aea6d84643fb75efe53e9ee26063164005 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 363193b1bd4d9e0f07d361113157b9d4f229f212 (diff) | |
| download | clang-8b407727aef487051835440deb641e60f7a743f8.tar.gz clang-8b407727aef487051835440deb641e60f7a743f8.tar.bz2 clang-8b407727aef487051835440deb641e60f7a743f8.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193055 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
