We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
(no string representation)
ConstructorInit
1 parent 7c38c48 commit 6a291ccCopy full SHA for 6a291cc
cpp/ql/lib/semmle/code/cpp/exprs/Call.qll
@@ -504,6 +504,8 @@ class VacuousDestructorCall extends Expr, @vacuous_destructor_call {
504
*/
505
class ConstructorInit extends Expr, @ctorinit {
506
override string getAPrimaryQlClass() { result = "ConstructorInit" }
507
+
508
+ override string toString() { result = "constructor init" }
509
}
510
511
/**
@@ -512,6 +514,8 @@ class ConstructorInit extends Expr, @ctorinit {
512
514
513
515
class ConstructorBaseInit extends ConstructorInit, ConstructorCall {
516
override string getAPrimaryQlClass() { result = "ConstructorBaseInit" }
517
518
+ override string toString() { result = "call to " + this.getTarget().getName() }
519
520
521
0 commit comments