| 705 | } |
| 706 | |
| 707 | static bool constructor_modifier(const char *word) { |
| 708 | static const char *const words[] = { |
| 709 | "public", "private", "protected", "internal", "actual", "expect", |
| 710 | "final", "open", "abstract", "sealed", "const", "override", "lateinit", |
| 711 | "tailrec", "operator", "infix", "inline", "external", "suspend", "data", |
| 712 | "inner", "value", "annotation", "noinline", "crossinline", "vararg" |
| 713 | }; |
| 714 | for (unsigned i = 0; i < sizeof(words) / sizeof(words[0]); i++) |
| 715 | if (strcmp(word, words[i]) == 0) return true; |
| 716 | return false; |
| 717 | } |
| 718 | |
| 719 | typedef struct { char end; char kind; unsigned dollars; } ConstructorProbeFrame; |
| 720 | typedef Array(ConstructorProbeFrame) ConstructorProbeStack; |
no outgoing calls
no test coverage detected