[clang] 7aec7ca - Add explicit triple to test_type.py.
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 14 14:50:50 PST 2025
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()
More information about the cfe-commits
mailing list