summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorKarthik Bhat <kv.bhat@samsung.com>2014-05-08 13:16:20 +0000
committerKarthik Bhat <kv.bhat@samsung.com>2014-05-08 13:16:20 +0000
commitc52c190c1e790317e6448902fbf08511fb6c1789 (patch)
tree16e6e4821b1dd6695d4c1e7a5def183c336a5082 /lib/CodeGen/CodeGenFunction.cpp
parent2d4fcb889809ede7c322081a15b4b088231589ff (diff)
downloadclang-c52c190c1e790317e6448902fbf08511fb6c1789.tar.gz
clang-c52c190c1e790317e6448902fbf08511fb6c1789.tar.bz2
clang-c52c190c1e790317e6448902fbf08511fb6c1789.tar.xz
Fix PR19169 [Crash on invalid attempting to specialize a template method as a template variable].
A template declaration of a template name can be null in case we have a dependent name or a set of function templates. Hence use dyn_cast_or_null instead of dyn_cast. Also improve the diagnostic emitted in this case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208313 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions