зеркало из https://github.com/github/codeql.git
Kotlin: Mark enum class special members as cmopiler-generated
This commit is contained in:
Родитель
c5d6ca7afc
Коммит
20817a54da
|
@ -790,6 +790,8 @@ open class KotlinFileExtractor(
|
|||
tw.writeCompiler_generated(methodId, 2)
|
||||
IrDeclarationOrigin.DEFAULT_PROPERTY_ACCESSOR ->
|
||||
tw.writeCompiler_generated(methodId, 3)
|
||||
IrDeclarationOrigin.ENUM_CLASS_SPECIAL_MEMBER ->
|
||||
tw.writeCompiler_generated(methodId, 5)
|
||||
}
|
||||
|
||||
if (extractMethodAndParameterTypeAccesses) {
|
||||
|
|
|
@ -55,6 +55,8 @@ class Element extends @element, Top {
|
|||
i = 3 and result = "Default property accessor"
|
||||
or
|
||||
i = 4 and result = "Class initialisation method <clinit>"
|
||||
or
|
||||
i = 5 and result = "Enum class special member"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче