eugenpolytechnic
5c0231b727
FIR: introduce CatchParameterChecker
2021-02-01 15:07:13 +03:00
Ilya Kirillov
191a948ffe
FIR: introduce caches factory
2021-01-27 21:26:57 +01:00
Jinseong Jeon
57c8dd86a0
FIR checker: introduce top-level property checkers
...
Also, refactor property initializer checking so that those
newly added property checkers as well as member property checker
can share the same logic
2021-01-27 19:46:06 +03:00
Jinseong Jeon
9341ca3004
FIR checker: introduce top-level function checker
2021-01-27 19:46:05 +03:00
Jinseong Jeon
8b4f2b269c
FIR checker: introduce PARAMETER_* positioning strategies
...
and use them to add support diagnostics:
ANONYMOUS_FUNCTION_PARAMETER_WITH_DEFAULT_VALUE
USELESS_VARARG_ON_PARAMETER
2021-01-27 19:46:05 +03:00
Jinseong Jeon
fa0b933bc8
FIR checker: add diagnostics for missing/ambiguous component calls
2021-01-21 16:06:10 +03:00
Jinseong Jeon
83b9c29495
FIR checker: relocate sealed class ctor call checker
2021-01-21 16:06:10 +03:00
Jinseong Jeon
be29b6d64d
FIR checker: use aliased checker when possible (part 2)
2021-01-21 16:06:10 +03:00
Jinseong Jeon
de592f4f67
FIR checker: introduce FunctionChecker alias
...
and use it to add support diagnostic FUNCTION_DECLARATION_WITH_NO_NAME
2021-01-21 16:06:09 +03:00
Jinseong Jeon
39df3e2b0a
FIR checker: introduce member function checker
2021-01-15 14:38:35 +03:00
Jinseong Jeon
ec68ac36db
FIR checker: use the aliased checker when possible
2021-01-15 12:46:17 +03:00
Jinseong Jeon
03cb0c3cd1
FIR checker: introduce PropertyChecker alias
...
and use it to add diagnostic
ININITIALIZER_REQUIRED_FOR_DESTRUCTURING_DECLARATION
2021-01-15 12:45:25 +03:00
pyos
f618763250
FIR: implement -Xfriend-paths
2021-01-12 10:33:45 +03:00
Dmitriy Novozhilov
acbc468fdd
[FIR] Add light tree mode to FirAnalyzerFacade
2020-12-16 19:52:30 +03:00
Dmitriy Novozhilov
cb5183ab4d
[TEST] Add implementation of new infrastructure services for compiler tests
...
All of new classes lays in lays in :compiler:tests-common-new module
which includes classes for FE 1.0 and FIR diagnostics tests and
JVM black boxtests
2020-12-16 19:52:23 +03:00
Jinseong Jeon
5167d69b7c
FIR checker: introduce member property checker
2020-12-04 16:58:30 +03:00
pyos
20c7c4881d
FIR: fix @JvmPackageName
...
A single `JvmGeneratorExtensions` instance should be passed around.
2020-11-23 19:36:08 +03:00
Dmitriy Novozhilov
ed0e5adce7
[FIR] Make FirAnalyzerFacade returns diagnostics grouped by fir file
2020-11-13 16:19:29 +03:00
Dmitriy Novozhilov
20453bf0d8
[FIR] Get rid of FirSessionProvider.project property
2020-11-13 16:19:29 +03:00
Dmitriy Novozhilov
82a2ecfe14
[FIR] Cleanup creating sessions in CLI FIR compiler
2020-11-13 16:19:29 +03:00
Dmitriy Novozhilov
3aa8b09e31
[FIR] Add configurable language version settings to FirSessionFactories
2020-11-13 16:19:29 +03:00
Mikhail Glukhikh
d4f08018ce
[FIR2IR] Extract special symbol provider to make JVM extension
2020-11-10 21:07:27 +03:00
Ilya Kirillov
3f9735dd5d
FIR: use enum in RawFirBuilder to indicate its mode: normals, stubs, or lazy bodies
2020-10-14 22:11:00 +03:00
Denis Zharkov
d67a1f9123
FIR: Rework default parameters propagation through overrides
2020-10-01 17:49:02 +03:00
Pavel Kirpichenkov
b39af51390
[FIR] Extract language settings into a dedicated component
...
^KT-42080 Fixed
2020-09-29 18:22:56 +03:00
Ilya Kirillov
f1c808384e
FIR IDE: do not resolve symbols by transitive module dependencies
2020-09-23 21:41:44 +03:00
Dmitriy Novozhilov
d4891cb464
[FIR] Move Jsr305State from FirSession to separate component
2020-09-17 17:23:25 +03:00
Лихолетов Михаил
cfc1ebb4be
[FIR] Support several annotation argument diagnostics
2020-09-16 16:53:31 +03:00
Dmitriy Novozhilov
29addd2a2b
[FIR] Make InferenceComponents session component
2020-09-09 12:38:35 +03:00
Dmitriy Novozhilov
67604dcb66
[FIR] Add generator for checkers aliases and sets of checkers
2020-09-08 12:51:12 +03:00
Dmitriy Novozhilov
6656669551
[FIR] Fix typo
2020-09-08 12:51:12 +03:00
vldf
f9a2d01d57
[FIR] Add UselessCallOnNotNullChecker
2020-09-03 14:28:57 +03:00
Dmitriy Novozhilov
cb47e631f8
[FIR] Move extended checkers containers to :compiler:fir:entrypoint
2020-09-01 12:00:13 +03:00
Dmitriy Novozhilov
c250912ee0
[FIR-TEST] Use FirAnalyzerFacade in BB and Fir2IrText tests
2020-09-01 12:00:13 +03:00
Dmitriy Novozhilov
a4e24ca3dc
[FIR] Introduce FirAnalyzerFacade which hides implementation details of running FIR compiler
2020-09-01 12:00:13 +03:00
Dmitriy Novozhilov
6db8c28291
[FIR] Refactor session components initialization
...
From now all customization of session should perform via DSL which
declared in FirSessionFactory. Registration or mutation session
services from other places is prohibited
2020-09-01 12:00:12 +03:00
Dmitriy Novozhilov
2819bd3aaf
[FIR] Get rid of deprecated extension point registration methods usage
2020-09-01 12:00:12 +03:00
Dmitriy Novozhilov
cf224b4de9
[FIR] Add createEmptySession to FirSessionFactory for testing purposes
2020-09-01 12:00:12 +03:00
Dmitriy Novozhilov
a8d23c36f5
[FIR] Introduce module :fir:entrypoint and FirSessionFactory for creating sessions
2020-09-01 12:00:12 +03:00