Commit Graph

96530 Commits

Author SHA1 Message Date
Yahor Berdnikau 737fdf31f9 Add missing JVM toolchain into :benchmarksAnalyzer:buildSrc
It fixes Java and Kotlin targets non-equality.
2022-11-29 14:31:48 +00:00
Yahor Berdnikau a14d0d148b Simplify Kotlin bootstrap application in the project
Move all the code to apply Kotlin bootstrap into settings script plugin
which does following:
- configures based either on the repo root 'local.properties' or on the
root project gradle properties or on the repo root 'gradle.properties'
current type of bootstrap
- automatically adds Kotlin bootstrap repository with
exclusive content, so bootstrap dependencies will not be by mistake
downloaded from other repository
- automatically forces all Kotlin plugins applied in the build to use
bootstrap version

This script should be applied only in project settings.gradle and then
it does all the configuration by itself.
2022-11-29 14:31:48 +00:00
Igor Chevdar 97b68d111c [K/N][IR] Replaced lazyMapMember with mapping 2022-11-29 13:34:35 +00:00
Igor Chevdar 6a3229b9ed [K/N][codegen] Use generationState instead of context wherever possible 2022-11-29 13:34:35 +00:00
Igor Chevdar 87abb7ea3e [K/N][codegen] Split CAdapterGenerator on two parts 2022-11-29 13:34:34 +00:00
Igor Chevdar f8b8cbb9f2 [K/N] Moved llvmModuleSpecification from context to generation state 2022-11-29 13:34:34 +00:00
Dmitrii Gridin 945e0d9b3f [AA] KtPsiBasedSymbolPointer: drop redundant api
^KT-54051
2022-11-29 13:33:53 +00:00
Dmitrii Gridin 3b1ec3752d [SLC] compareSymbolPointers: result of comparison of two 'null' symbols should be 'false'
^KT-54051
2022-11-29 13:33:52 +00:00
Dmitrii Gridin 94df0465d6 [SLC] SymbolLightConstructor: drop redundant LightMemberOrigin parameter
^KT-54051
2022-11-29 13:33:52 +00:00
Dmitrii Gridin 870fdf51d3 [SLC] add more 'inline' modifiers to symbol utils functions
^KT-54051
2022-11-29 13:33:52 +00:00
Dmitrii Gridin 3e73522d3b [SLC] drop redundant labels for KtAnalysisSession
^KT-54051
2022-11-29 13:33:51 +00:00
Dmitrii Gridin c9d1e2b0a2 [SLC] SymbolLightClassForNamedClassLike: cleanup addMethodsFromCompanionIfNeeded function
^KT-54051
2022-11-29 13:33:51 +00:00
Dmitrii Gridin ef9412e0aa [SLC] replace lazy with lazyPub
^KT-54051
2022-11-29 13:33:51 +00:00
Dmitrii Gridin 815d324a4a [SLC] rename SymbolLightAnnotationClass to SymbolLightClassForAnnotationClass
^KT-54051
2022-11-29 13:33:50 +00:00
Dmitrii Gridin 938c866b23 [SLC] rename SymbolLightAnonymousClass to SymbolLightClassForAnonymousObject
^KT-54051
2022-11-29 13:33:50 +00:00
Dmitrii Gridin ed43dc9530 [SLC] rename SymbolLightInterfaceClass to SymbolLightClassForInterface
^KT-54051
2022-11-29 13:33:50 +00:00
Dmitrii Gridin 02fd371c97 [SLC] rename SymbolLightInterfaceOrAnnotationClass to SymbolLightClassForInterfaceOrAnnotationClass
^KT-54051
2022-11-29 13:33:49 +00:00
Dmitrii Gridin 911b90f952 [SLC] rename SymbolLightInlineClass to SymbolLightClassForInlineClass
^KT-54051
2022-11-29 13:33:49 +00:00
Dmitrii Gridin 609005df8c [SLC] rename SymbolLightClassForNamedClassOrObject to SymbolLightClassForNamedClassLike
^KT-54051
2022-11-29 13:33:49 +00:00
Dmitrii Gridin dcb59ca615 [SLC] rename SymbolLightClass to SymbolLightClassForClassOrObject
^KT-54051
2022-11-29 13:33:48 +00:00
Dmitrii Gridin e5e4c2eb59 [SLC] rename SymbolLightClassForClassOrObject to SymbolLightClassForClassLike
^KT-54051
2022-11-29 13:33:48 +00:00
Dmitrii Gridin 1b185bc263 [SLC] cleanup code
^KT-54051
2022-11-29 13:33:48 +00:00
Dmitrii Gridin 207212e5b8 [SLC] support non-psi classes
^KT-54051
2022-11-29 13:33:47 +00:00
Dmitrii Gridin 812e0413c2 [SLC] reduce number of lazyPub calls
^KT-54051
2022-11-29 13:33:47 +00:00
Dmitrii Gridin 608d1e3431 [SLC] modifiers should be calculated lazily
^KTIJ-23280 Fixed
2022-11-29 13:33:47 +00:00
Dmitrii Gridin 90bf4a3a24 [AA FIR] drop redundant analyze from symbol pointers
^KT-54051
2022-11-29 13:33:46 +00:00
Dmitrii Gridin e27ffada26 [AA] KtSymbol: add context receiver to 'createPointer'
^KT-54051
2022-11-29 13:33:46 +00:00
Dmitrii Gridin 73372e557e [SLC] rework analyzeForLightClasses
* allow to analyze on EDT
* do not pass KtAlwaysAccessibleLifetimeTokenFactory

^KT-54051
2022-11-29 13:33:46 +00:00
Dmitrii Gridin 1d62445b88 [SLC] fix leak from annotations
^KT-54051
2022-11-29 13:33:45 +00:00
Dmitrii Gridin 012152e7b6 [SLC] drop KtAnalysisSession from SymbolLightTypeParameter
^KT-54051
2022-11-29 13:33:45 +00:00
Dmitrii Gridin af73bb9bf3 [SLC] drop KtAnalysisSession from SymbolLightTypeParameterList
^KT-54051
2022-11-29 13:33:45 +00:00
Dmitrii Gridin 5217a97145 [SLC] cleanup .psi access
^KT-54051
2022-11-29 13:33:44 +00:00
Dmitrii Gridin c0097dd97e [SLC] merge KtLightIdentifierBase with KtLightIdentifier
^KT-54051
2022-11-29 13:33:44 +00:00
Dmitrii Gridin 4bda3692aa [SLC] drop SymbolLightIdentifier
^KT-54051
2022-11-29 13:33:44 +00:00
Dmitrii Gridin 4f48bf6643 [SLC] drop KtAnalysisSession from SymbolLightParameterCommon
^KT-54051
2022-11-29 13:33:43 +00:00
Dmitrii Gridin 37729c0353 [SLC] migrate SymbolLightParameterForReceiver to KtReceiverParameterSymbol
^KT-54051
2022-11-29 13:33:43 +00:00
Dmitrii Gridin e7b1206466 [SLC] introduce some utils
^KT-54051
2022-11-29 13:33:43 +00:00
Dmitrii Gridin de8a19d085 [SLC] add ktModule to SymbolLightParameterBase
^KT-54051
2022-11-29 13:33:42 +00:00
Dmitrii Gridin 98cf8a4333 [SLC] replace analyze with analyzeForLightClasses
^KT-54051
2022-11-29 13:33:42 +00:00
Dmitrii Gridin a11435b896 [SLC] introduce some utils for symbol pointers
^KT-54051
2022-11-29 13:33:42 +00:00
Dmitrii Gridin 935f770819 [SLC] drop KtAnalysisSession from SymbolLightSuspendContinuationParameter
^KT-54051
2022-11-29 13:33:41 +00:00
Dmitrii Gridin af1d882c74 [SLC] drop KtAnalysisSession from SymbolLightParameterForReceiver
^KT-54051
2022-11-29 13:33:41 +00:00
Dmitrii Gridin e1cc244be0 [SLC] drop KtAnalysisSession from SymbolLightParameterList
^KT-54051
2022-11-29 13:33:41 +00:00
Dmitrii Gridin 029d6bb3a0 [SLC] drop KtAnalysisSession from SymbolLightSimpleMethod
^KT-54051
2022-11-29 13:33:40 +00:00
Dmitrii Gridin 18f0802de0 [SLC] introduce hasTypeParameters
^KT-54051
2022-11-29 13:33:40 +00:00
Dmitrii Gridin b0bbf27cf5 [SLC] drop KtAnalysisSession from SymbolLightConstructor
^KT-54051
2022-11-29 13:33:40 +00:00
Dmitrii Gridin 08ca1e81a3 [SLC] drop KtAnalysisSession from SymbolLightMethod
^KT-54051
2022-11-29 13:33:39 +00:00
Dmitrii Gridin 7297c0b941 [SLC] SymbolLightMemberBase: introduce ktModule
fix recursion inside computeJvmMethodName

^KT-54051
2022-11-29 13:33:39 +00:00
Dmitrii Gridin 0b8b4bfe82 [SLC] replace some of SymbolLightIdentifier with KtLightIdentifier
^KT-54051
2022-11-29 13:33:39 +00:00
Dmitrii Gridin 577bc243d2 [LC] KtLightIdentifierBase: add missing copy
^KT-54051
2022-11-29 13:33:38 +00:00