Commit b5df0ced by Jason Merrill

revert

From-SVN: r28587
parent 5c7675e9
...@@ -3616,7 +3616,6 @@ maybe_get_template_decl_from_type_decl (decl) ...@@ -3616,7 +3616,6 @@ maybe_get_template_decl_from_type_decl (decl)
return (decl != NULL_TREE return (decl != NULL_TREE
&& TREE_CODE (decl) == TYPE_DECL && TREE_CODE (decl) == TYPE_DECL
&& DECL_ARTIFICIAL (decl) && DECL_ARTIFICIAL (decl)
&& CLASS_TYPE_P (decl)
&& CLASSTYPE_TEMPLATE_INFO (TREE_TYPE (decl))) && CLASSTYPE_TEMPLATE_INFO (TREE_TYPE (decl)))
? CLASSTYPE_TI_TEMPLATE (TREE_TYPE (decl)) : decl; ? CLASSTYPE_TI_TEMPLATE (TREE_TYPE (decl)) : decl;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment