Author: Eli Friedman Date: 2025-01-14T14:49:45-08:00 New Revision: 7aec7caca30f800811b76ba94291645494788a4f
URL: https://github.com/llvm/llvm-project/commit/7aec7caca30f800811b76ba94291645494788a4f DIFF: https://github.com/llvm/llvm-project/commit/7aec7caca30f800811b76ba94291645494788a4f.diff LOG: Add explicit triple to test_type.py. Fixes on 32-bit hosts. Added: Modified: clang/bindings/python/tests/cindex/test_type.py Removed: ################################################################################ diff --git a/clang/bindings/python/tests/cindex/test_type.py b/clang/bindings/python/tests/cindex/test_type.py index db7dc6458581e6..9bac33f3041f40 100644 --- a/clang/bindings/python/tests/cindex/test_type.py +++ b/clang/bindings/python/tests/cindex/test_type.py @@ -546,7 +546,7 @@ class Template : public A, public B, virtual C { Template<int> instance; int bar; """ - tu = get_tu(source, lang="cpp") + tu = get_tu(source, lang="cpp", flags=["--target=x86_64-linux-gnu"]) cursor = get_cursor(tu, "instance") cursor_type = cursor.type cursor_type_decl = cursor_type.get_declaration() _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits