C++: locals template_declaration must define their own scope in which the template arguments are valid

This commit is contained in:
Stephan Seitz 2020-07-27 15:00:49 +02:00 committed by Thomas Vigouroux
parent 572a4a964b
commit 1301884e97

View file

@ -29,7 +29,8 @@
;template <typename T>
(type_parameter_declaration
(type_identifier) @definition.type)
(template_declaration) @scope
;; Namespaces
(namespace_definition
name: (identifier) @definition.namespace