Merge pull request #5962 from erik-krogh/getAPrimaryQlClass

CPP/Java: Fix getAPrimaryQlClass implementations
This commit is contained in:
Jonas Jensen
2021-05-28 09:31:16 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ class FunctionSpecifier extends Specifier {
this.hasName("explicit")
}
override string getAPrimaryQlClass() { result = "FunctionSpecifier)" }
override string getAPrimaryQlClass() { result = "FunctionSpecifier" }
}
/**

View File

@@ -739,7 +739,7 @@ class LabeledStmt extends Stmt, @labeledstmt {
/** This statement's Halstead ID (used to compute Halstead metrics). */
override string getHalsteadID() { result = this.getLabel() + ":" }
override string getAPrimaryQlClass() { result = "LabelStmt" }
override string getAPrimaryQlClass() { result = "LabeledStmt" }
}
/** An `assert` statement. */