mirror of
https://github.com/github/codeql.git
synced 2026-05-04 13:15:21 +02:00
Remove and replace @anonymousclassdeclstmt with @localtypedeclstmt
This commit is contained in:
@@ -987,10 +987,6 @@ private module ControlFlowGraphImpl {
|
||||
completion = YieldCompletion(branchCompletion)
|
||||
)
|
||||
)
|
||||
or
|
||||
n instanceof KtAnonymousClassDeclarationStmt and
|
||||
last = n and
|
||||
completion = NormalCompletion()
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -911,16 +911,3 @@ class KtBreakStmt extends BreakStmt, KtBreakContinueStmt { }
|
||||
|
||||
/** A Kotlin `continue` statement. */
|
||||
class KtContinueStmt extends ContinueStmt, KtBreakContinueStmt { }
|
||||
|
||||
class KtAnonymousClassDeclarationStmt extends Stmt, @anonymousclassdeclstmt {
|
||||
Class c;
|
||||
|
||||
KtAnonymousClassDeclarationStmt() { ktAnonymousClassDeclarationStmts(this, c) }
|
||||
|
||||
/** Gets the class declaration belonging to this declaration statement. */
|
||||
AnonymousClass getDeclaration() { result = c }
|
||||
|
||||
override string getAPrimaryQlClass() { result = "KtAnonymousClassDeclarationStmt" }
|
||||
|
||||
override string toString() { result = "{ ... }" }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user