TODO: this is ugly, can we find a better alternative?
| 54 | #if CINDEX_VERSION_MINOR >= 100 |
| 55 | // TODO: this is ugly, can we find a better alternative? |
| 56 | bool jsonTestRun() |
| 57 | { |
| 58 | static bool runningTest = qEnvironmentVariableIsSet("KDEV_CLANG_JSON_TEST_RUN"); |
| 59 | return runningTest; |
| 60 | } |
| 61 | #endif |
| 62 | |
| 63 | //BEGIN helpers |