Skip to content
Commit 967c13d3 authored by Karthik Bhat's avatar Karthik Bhat
Browse files

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
parent c47b0a1b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment