Author: Timm Bäder Date: 2025-12-26T07:35:15+01:00 New Revision: 32d5a2db9e53e15a4a9281384137917b85056e77
URL: https://github.com/llvm/llvm-project/commit/32d5a2db9e53e15a4a9281384137917b85056e77 DIFF: https://github.com/llvm/llvm-project/commit/32d5a2db9e53e15a4a9281384137917b85056e77.diff LOG: [clang][test] Use __INTPTR_TYPE__ in ast-dump-APValue-addrlabeldiff test It's otherwise broken on 32 bit builders: https://lab.llvm.org/buildbot/#/builders/154/builds/25707 Also set the triple to i686 so we can test this on 32 bit targets. Added: Modified: clang/test/AST/ast-dump-APValue-addrlabeldiff.c Removed: ################################################################################ diff --git a/clang/test/AST/ast-dump-APValue-addrlabel diff .c b/clang/test/AST/ast-dump-APValue-addrlabel diff .c index ec6eddbb187cb..612c183257123 100644 --- a/clang/test/AST/ast-dump-APValue-addrlabel diff .c +++ b/clang/test/AST/ast-dump-APValue-addrlabel diff .c @@ -1,5 +1,5 @@ // Test without serialization: -// RUN: %clang_cc1 -std=c23 -ast-dump %s -ast-dump-filter Test \ +// RUN: %clang_cc1 -std=c23 -ast-dump %s -ast-dump-filter Test -triple=i686 \ // RUN: | FileCheck --strict-whitespace --match-full-lines %s // // Test with serialization: @@ -12,7 +12,7 @@ // CHECK: | |-value: AddrLabelDiff &&l2 - &&l1 int Test(void) { - constexpr long long ar = &&l2 - &&l1; + constexpr __INTPTR_TYPE__ ar = &&l2 - &&l1; l1: return 10; l2: _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
