summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/BasicTargetTransformInfo.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
commit967c13d3fbfaab8eb6cf803aa53036823328b19b (patch)
treeedfd1efe6311ac4f5de6ab0fbf8d083c8681d854 /llvm/lib/CodeGen/BasicTargetTransformInfo.cpp
parentc47b0a1b99e74cab6f4c4aeb58ed3c5154a2d678 (diff)
downloadbcm5719-llvm-967c13d3fbfaab8eb6cf803aa53036823328b19b.tar.gz
bcm5719-llvm-967c13d3fbfaab8eb6cf803aa53036823328b19b.zip
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. llvm-svn: 208313
Diffstat (limited to 'llvm/lib/CodeGen/BasicTargetTransformInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud