Initial implementation of faster component function usage search

This commit is contained in:
Valentin Kipyatkov
2016-08-23 22:52:23 +03:00
parent 77bb9b8092
commit 1674beb64b
32 changed files with 609 additions and 121 deletions
@@ -1,34 +0,0 @@
// all these are unused, but have conventional names, so they won't be marked as unused
fun inc() {
}
fun dec() {
}
fun component1() {
}
fun component100() {
}
fun equals() {
}
fun invoke() {
}
fun iterator() {
}
fun compareTo() {
}
fun get() {
}
fun set() {
}
fun plusAssign() {
}
@@ -0,0 +1,9 @@
// all these are unused but are operators
operator fun String.inc() = ""
operator fun String.dec() = ""
operator fun String.component1() = 0
operator fun String.component100() = 0