Skip to content

Commit 48c7d1d

Browse files
author
Matthew Gretton-Dann
committed
C++: add *_template_parameter_value() tuples
1 parent 794d5bd commit 48c7d1d

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

cpp/ql/src/semmlecode.cpp.dbscheme

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,11 @@ class_template_argument(
731731
int index: int ref,
732732
int arg_type: @type ref
733733
);
734+
class_template_argument_value(
735+
int type_id: @usertype ref,
736+
int index: int ref,
737+
int arg_value: @expr ref
738+
);
734739

735740
is_proxy_class_for(
736741
unique int id: @usertype ref,
@@ -755,6 +760,11 @@ function_template_argument(
755760
int index: int ref,
756761
int arg_type: @type ref
757762
);
763+
function_template_argument_value(
764+
int function_id: @function ref,
765+
int index: int ref,
766+
int arg_value: @expr ref
767+
);
758768

759769
is_variable_template(unique int id: @variable ref);
760770
variable_instantiation(
@@ -766,6 +776,11 @@ variable_template_argument(
766776
int index: int ref,
767777
int arg_type: @type ref
768778
);
779+
variable_template_argument_value(
780+
int variable_id: @variable ref,
781+
int index: int ref,
782+
int arg_value: @expr ref
783+
);
769784

770785
/*
771786
Fixed point types

0 commit comments

Comments
 (0)