so the c-index-test one can be enabled without affecting libclang.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143288
91177308-0d34-0410-b5e6-
96231b3b80d8
ReparseTranslationUnitInfo RTUI = { TU, num_unsaved_files, unsaved_files,
options, 0 };
- if (getenv("CINDEXTEST_NOTHREADS")) {
+ if (getenv("LIBCLANG_NOTHREADS")) {
clang_reparseTranslationUnit_Impl(&RTUI);
return RTUI.result;
}
num_command_line_args, unsaved_files,
num_unsaved_files, out_TU, TU_options, 0 };
- if (getenv("CINDEXTEST_NOTHREADS")) {
+ if (getenv("LIBCLANG_NOTHREADS")) {
clang_indexTranslationUnit_Impl(&ITUI);
return ITUI.result;
}