mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
CPP/Java: Fix getAPrimaryQlClass implementations
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user