Skip to content

Commit 1e36561

Browse files
committed
fix all other implicit-this warnings introduced by the acronym patch
1 parent 2e29701 commit 1e36561

File tree

23 files changed

+38
-38
lines changed

23 files changed

+38
-38
lines changed

cpp/ql/lib/semmle/code/cpp/ir/implementation/aliased_ssa/Instruction.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ class Instruction extends Construction::TStageInstruction {
211211
final Language::AST getAst() { result = Construction::getInstructionAst(this) }
212212

213213
/** DEPRECATED: Alias for getAst */
214-
deprecated Language::AST getAST() { result = getAst() }
214+
deprecated Language::AST getAST() { result = this.getAst() }
215215

216216
/**
217217
* Gets the location of the source code for this instruction.
@@ -465,7 +465,7 @@ class VariableInstruction extends Instruction {
465465
final Language::Variable getAstVariable() { result = var.(IRUserVariable).getVariable() }
466466

467467
/** DEPRECATED: Alias for getAstVariable */
468-
deprecated Language::Variable getASTVariable() { result = getAstVariable() }
468+
deprecated Language::Variable getASTVariable() { result = this.getAstVariable() }
469469
}
470470

471471
/**

cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/Instruction.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ class Instruction extends Construction::TStageInstruction {
211211
final Language::AST getAst() { result = Construction::getInstructionAst(this) }
212212

213213
/** DEPRECATED: Alias for getAst */
214-
deprecated Language::AST getAST() { result = getAst() }
214+
deprecated Language::AST getAST() { result = this.getAst() }
215215

216216
/**
217217
* Gets the location of the source code for this instruction.
@@ -465,7 +465,7 @@ class VariableInstruction extends Instruction {
465465
final Language::Variable getAstVariable() { result = var.(IRUserVariable).getVariable() }
466466

467467
/** DEPRECATED: Alias for getAstVariable */
468-
deprecated Language::Variable getASTVariable() { result = getAstVariable() }
468+
deprecated Language::Variable getASTVariable() { result = this.getAstVariable() }
469469
}
470470

471471
/**

cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedExpr.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ abstract class TranslatedExpr extends TranslatedElement {
7777
final override Locatable getAst() { result = expr }
7878

7979
/** DEPRECATED: Alias for getAst */
80-
deprecated override Locatable getAST() { result = getAst() }
80+
deprecated override Locatable getAST() { result = this.getAst() }
8181

8282
final override Function getFunction() { result = expr.getEnclosingFunction() }
8383

cpp/ql/lib/semmle/code/cpp/ir/implementation/unaliased_ssa/Instruction.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ class Instruction extends Construction::TStageInstruction {
211211
final Language::AST getAst() { result = Construction::getInstructionAst(this) }
212212

213213
/** DEPRECATED: Alias for getAst */
214-
deprecated Language::AST getAST() { result = getAst() }
214+
deprecated Language::AST getAST() { result = this.getAst() }
215215

216216
/**
217217
* Gets the location of the source code for this instruction.
@@ -465,7 +465,7 @@ class VariableInstruction extends Instruction {
465465
final Language::Variable getAstVariable() { result = var.(IRUserVariable).getVariable() }
466466

467467
/** DEPRECATED: Alias for getAstVariable */
468-
deprecated Language::Variable getASTVariable() { result = getAstVariable() }
468+
deprecated Language::Variable getASTVariable() { result = this.getAstVariable() }
469469
}
470470

471471
/**

csharp/ql/src/experimental/ir/implementation/raw/Instruction.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ class Instruction extends Construction::TStageInstruction {
211211
final Language::AST getAst() { result = Construction::getInstructionAst(this) }
212212

213213
/** DEPRECATED: Alias for getAst */
214-
deprecated Language::AST getAST() { result = getAst() }
214+
deprecated Language::AST getAST() { result = this.getAst() }
215215

216216
/**
217217
* Gets the location of the source code for this instruction.
@@ -465,7 +465,7 @@ class VariableInstruction extends Instruction {
465465
final Language::Variable getAstVariable() { result = var.(IRUserVariable).getVariable() }
466466

467467
/** DEPRECATED: Alias for getAstVariable */
468-
deprecated Language::Variable getASTVariable() { result = getAstVariable() }
468+
deprecated Language::Variable getASTVariable() { result = this.getAstVariable() }
469469
}
470470

471471
/**

csharp/ql/src/experimental/ir/implementation/raw/internal/TranslatedCondition.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ abstract class TranslatedCondition extends ConditionBase {
1818
final override Language::AST getAst() { result = expr }
1919

2020
/** DEPRECATED: Alias for getAst */
21-
deprecated override Language::AST getAST() { result = getAst() }
21+
deprecated override Language::AST getAST() { result = this.getAst() }
2222

2323
final Expr getExpr() { result = expr }
2424

csharp/ql/src/experimental/ir/implementation/raw/internal/TranslatedDeclaration.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ abstract class TranslatedLocalDeclaration extends TranslatedElement, TTranslated
3232
final override Language::AST getAst() { result = expr }
3333

3434
/** DEPRECATED: Alias for getAst */
35-
deprecated override Language::AST getAST() { result = getAst() }
35+
deprecated override Language::AST getAST() { result = this.getAst() }
3636
}
3737

3838
/**

csharp/ql/src/experimental/ir/implementation/raw/internal/TranslatedElement.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ abstract class TranslatedElement extends TTranslatedElement {
368368
abstract Language::AST getAst();
369369

370370
/** DEPRECATED: Alias for getAst */
371-
deprecated Language::AST getAST() { result = getAst() }
371+
deprecated Language::AST getAST() { result = this.getAst() }
372372

373373
/**
374374
* Get the first instruction to be executed in the evaluation of this element.

csharp/ql/src/experimental/ir/implementation/raw/internal/TranslatedExpr.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ abstract class TranslatedExpr extends TranslatedExprBase {
6565
final override Language::AST getAst() { result = expr }
6666

6767
/** DEPRECATED: Alias for getAst */
68-
deprecated override Language::AST getAST() { result = getAst() }
68+
deprecated override Language::AST getAST() { result = this.getAst() }
6969

7070
final override Callable getFunction() { result = expr.getEnclosingCallable() }
7171

csharp/ql/src/experimental/ir/implementation/raw/internal/TranslatedFunction.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class TranslatedFunction extends TranslatedElement, TTranslatedFunction {
3131
final override Language::AST getAst() { result = callable }
3232

3333
/** DEPRECATED: Alias for getAst */
34-
deprecated override Language::AST getAST() { result = getAst() }
34+
deprecated override Language::AST getAST() { result = this.getAst() }
3535

3636
/**
3737
* Gets the function being translated.
@@ -288,7 +288,7 @@ class TranslatedParameter extends TranslatedElement, TTranslatedParameter {
288288
final override Language::AST getAst() { result = param }
289289

290290
/** DEPRECATED: Alias for getAst */
291-
deprecated override Language::AST getAST() { result = getAst() }
291+
deprecated override Language::AST getAST() { result = this.getAst() }
292292

293293
final override Callable getFunction() { result = param.getCallable() }
294294

0 commit comments

Comments
 (0)