@@ -708,7 +708,7 @@ class TopLevelFunction extends Function {
708708 not this .isMember ( )
709709 }
710710 /** Canonical QL class corresponding to this element. */
711- string getCanonicalQLClass ( ) { result = "TopLevelFunction" }
711+ override string getCanonicalQLClass ( ) { result = "TopLevelFunction" }
712712}
713713
714714/**
@@ -721,7 +721,7 @@ class MemberFunction extends Function {
721721 }
722722
723723 /** Canonical QL class corresponding to this element. */
724- string getCanonicalQLClass ( ) { result = "MemberFunction" }
724+ override string getCanonicalQLClass ( ) { result = "MemberFunction" }
725725
726726 /**
727727 * Gets the number of parameters of this function, including any implicit
@@ -775,7 +775,7 @@ class VirtualFunction extends MemberFunction {
775775 }
776776
777777 /** Canonical QL class corresponding to this element. */
778- string getCanonicalQLClass ( ) { result = "VirtualFunction" }
778+ override string getCanonicalQLClass ( ) { result = "VirtualFunction" }
779779
780780 /** Holds if this virtual function is pure. */
781781 predicate isPure ( ) { this instanceof PureVirtualFunction }
@@ -795,7 +795,7 @@ class PureVirtualFunction extends VirtualFunction {
795795 PureVirtualFunction ( ) { purefunctions ( underlyingElement ( this ) ) }
796796
797797 /** Canonical QL class corresponding to this element. */
798- string getCanonicalQLClass ( ) { result = "PureVirtualFunction" }
798+ override string getCanonicalQLClass ( ) { result = "PureVirtualFunction" }
799799}
800800
801801/**
@@ -808,7 +808,7 @@ class ConstMemberFunction extends MemberFunction {
808808 ConstMemberFunction ( ) { this .hasSpecifier ( "const" ) }
809809
810810 /** Canonical QL class corresponding to this element. */
811- string getCanonicalQLClass ( ) { result = "ConstMemberFunction" }
811+ override string getCanonicalQLClass ( ) { result = "ConstMemberFunction" }
812812}
813813
814814/**
@@ -819,7 +819,7 @@ class Constructor extends MemberFunction {
819819 Constructor ( ) { functions ( underlyingElement ( this ) , _, 2 ) }
820820
821821 /** Canonical QL class corresponding to this element. */
822- string getCanonicalQLClass ( ) { result = "Constructor" }
822+ override string getCanonicalQLClass ( ) { result = "Constructor" }
823823
824824 /**
825825 * Holds if this constructor serves as a default constructor.
@@ -867,7 +867,7 @@ class ConversionConstructor extends Constructor, ImplicitConversionFunction {
867867 }
868868
869869 /** Canonical QL class corresponding to this element. */
870- string getCanonicalQLClass ( ) { result = "ConversionConstructor" }
870+ override string getCanonicalQLClass ( ) { result = "ConversionConstructor" }
871871
872872 /** Gets the type this `ConversionConstructor` takes as input. */
873873 override Type getSourceType ( ) { result = this .getParameter ( 0 ) .getType ( ) }
@@ -925,7 +925,7 @@ class CopyConstructor extends Constructor {
925925 }
926926
927927 /** Canonical QL class corresponding to this element. */
928- string getCanonicalQLClass ( ) { result = "CopyConstructor" }
928+ override string getCanonicalQLClass ( ) { result = "CopyConstructor" }
929929
930930 /**
931931 * Holds if we cannot determine that this constructor will become a copy
@@ -976,7 +976,7 @@ class MoveConstructor extends Constructor {
976976 }
977977
978978 /** Canonical QL class corresponding to this element. */
979- string getCanonicalQLClass ( ) { result = "MoveConstructor" }
979+ override string getCanonicalQLClass ( ) { result = "MoveConstructor" }
980980
981981 /**
982982 * Holds if we cannot determine that this constructor will become a move
@@ -1011,7 +1011,7 @@ class Destructor extends MemberFunction {
10111011 Destructor ( ) { functions ( underlyingElement ( this ) , _, 3 ) }
10121012
10131013 /** Canonical QL class corresponding to this element. */
1014- string getCanonicalQLClass ( ) { result = "Destructor" }
1014+ override string getCanonicalQLClass ( ) { result = "Destructor" }
10151015
10161016 /**
10171017 * Gets a compiler-generated action which destructs a base class or member
@@ -1073,7 +1073,7 @@ class CopyAssignmentOperator extends Operator {
10731073 not exists ( getATemplateArgument ( ) )
10741074 }
10751075 /** Canonical QL class corresponding to this element. */
1076- string getCanonicalQLClass ( ) { result = "CopyAssignmentOperator" }
1076+ override string getCanonicalQLClass ( ) { result = "CopyAssignmentOperator" }
10771077}
10781078
10791079
@@ -1094,7 +1094,7 @@ class MoveAssignmentOperator extends Operator {
10941094 not exists ( getATemplateArgument ( ) )
10951095 }
10961096 /** Canonical QL class corresponding to this element. */
1097- string getCanonicalQLClass ( ) { result = "MoveAssignmentOperator" }
1097+ override string getCanonicalQLClass ( ) { result = "MoveAssignmentOperator" }
10981098}
10991099
11001100
@@ -1116,7 +1116,7 @@ class TemplateFunction extends Function {
11161116 TemplateFunction ( ) { is_function_template ( underlyingElement ( this ) ) and exists ( getATemplateArgument ( ) ) }
11171117
11181118 /** Canonical QL class corresponding to this element. */
1119- string getCanonicalQLClass ( ) { result = "TemplateFunction" }
1119+ override string getCanonicalQLClass ( ) { result = "TemplateFunction" }
11201120 /**
11211121 * Gets a compiler-generated instantiation of this function template.
11221122 */
@@ -1149,7 +1149,7 @@ class FunctionTemplateInstantiation extends Function {
11491149 }
11501150
11511151 /** Canonical QL class corresponding to this element. */
1152- string getCanonicalQLClass ( ) { result = "FunctionTemplateSpecialization " }
1152+ override string getCanonicalQLClass ( ) { result = "FunctionTemplateInstantiation " }
11531153
11541154 /**
11551155 * Gets the function template from which this instantiation was instantiated.
@@ -1188,7 +1188,7 @@ class FunctionTemplateSpecialization extends Function {
11881188 }
11891189
11901190 /** Canonical QL class corresponding to this element. */
1191- string getCanonicalQLClass ( ) { result = "FunctionTemplateSpecialization" }
1191+ override string getCanonicalQLClass ( ) { result = "FunctionTemplateSpecialization" }
11921192
11931193 /**
11941194 * Gets the primary template for the specialization (the function template
0 commit comments