[clang] [libclang/python] Add equality comparison operators for File (PR #130383)
Jannick Kremer via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 21 17:07:39 PDT 2025
================
@@ -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
More information about the cfe-commits
mailing list