[K/N] Migrate compiler, interop and others to new case conversion api
This commit is contained in:
+1
@@ -23,6 +23,7 @@ interface RelocationModeFlags : TargetableExternalStorage {
|
||||
val staticLibraryRelocationMode get() = targetString("staticLibraryRelocationMode").mode()
|
||||
val executableRelocationMode get() = targetString("executableRelocationMode").mode()
|
||||
|
||||
@Suppress("DEPRECATION")
|
||||
private fun String?.mode(): Mode = when (this?.toLowerCase()) {
|
||||
null -> Mode.DEFAULT
|
||||
"pic" -> Mode.PIC
|
||||
|
||||
Reference in New Issue
Block a user