================ @@ -1,12 +1,13 @@ import os -from clang.cindex import Config, File, Index +from clang.cindex import Config, File, Index, TranslationUnit if "CLANG_LIBRARY_PATH" in os.environ: Config.set_library_path(os.environ["CLANG_LIBRARY_PATH"]) import unittest +kInputsDir = os.path.join(os.path.dirname(__file__), "INPUTS") ---------------- DeinAlptraum wrote:
Oh wow, didn't know global variables should be snake case. I copied the naming straight from one of the other files and we have a couple more places where this is the case, so I made #132378 first and added you as reviewe. Will rebase this PR once the other one is merged. https://github.com/llvm/llvm-project/pull/130383 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits