[FE] Move @PrivateForInline optIn into :core:compiler.common

This is needed to be able to use it in backend modules too
This commit is contained in:
Dmitriy Novozhilov
2023-07-12 11:37:03 +03:00
committed by Space Team
parent 49a1dfa20e
commit 73b580572b
35 changed files with 52 additions and 36 deletions
@@ -0,0 +1,13 @@
/*
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.util
/**
* [PrivateForInline] used for cases when there is a var property with mutable set and corresponding
* inline function which mutates this var
*/
@RequiresOptIn
annotation class PrivateForInline