https://github.com/TApplencourt created https://github.com/llvm/llvm-project/pull/172368
Fix typo in cindex.py where the C++ support test was incorrectly named test_c instead of test_cpp >From 18d0913c968711d1853cdcf343478ae5dd6810ff Mon Sep 17 00:00:00 2001 From: tapplencourt <[email protected]> Date: Mon, 15 Dec 2025 20:57:03 +0000 Subject: [PATCH] Rename cindex test for cpp lang --- clang/bindings/python/tests/cindex/test_cursor_language.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/bindings/python/tests/cindex/test_cursor_language.py b/clang/bindings/python/tests/cindex/test_cursor_language.py index de07a7bdeef40..fa2a678f736a9 100644 --- a/clang/bindings/python/tests/cindex/test_cursor_language.py +++ b/clang/bindings/python/tests/cindex/test_cursor_language.py @@ -16,7 +16,7 @@ def test_c(self): main_func = get_cursor(tu.cursor, "a") self.assertEqual(main_func.language, LanguageKind.C) - def test_c(self): + def test_cpp(self): tu = get_tu("class Cls {};", lang="cpp") main_func = get_cursor(tu.cursor, "Cls") self.assertEqual(main_func.language, LanguageKind.C_PLUS_PLUS) _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
