FIR checker: introduce top-level function checker

This commit is contained in:
Jinseong Jeon
2021-01-19 15:09:00 -08:00
committed by Mikhail Glukhikh
parent df68f319bc
commit 9341ca3004
15 changed files with 59 additions and 11 deletions
@@ -59,6 +59,10 @@ object CommonDeclarationCheckers : DeclarationCheckers() {
FirConstructorAllowedChecker,
)
override val fileCheckers: Set<FirFileChecker> = setOf(
FirTopLevelFunctionChecker,
)
override val controlFlowAnalyserCheckers: Set<FirControlFlowChecker> = setOf(
FirCallsEffectAnalyzer,
FirReturnsImpliesAnalyzer,