summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2013-10-20 18:48:56 +0000
committerAlp Toker <alp@nuanti.com>2013-10-20 18:48:56 +0000
commit8b407727aef487051835440deb641e60f7a743f8 (patch)
treecb9811aea6d84643fb75efe53e9ee26063164005 /lib/CodeGen/CGExpr.cpp
parent363193b1bd4d9e0f07d361113157b9d4f229f212 (diff)
downloadclang-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/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions