[clang] e95106f - Add a target triple to fix failures on MS build bots.
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 30 17:27:38 PDT 2021
Author: Richard Smith
Date: 2021-06-30T17:27:26-07:00
New Revision: e95106f50190d7a25dfad57adf0317ca6cfa9a4f
URL: https://github.com/llvm/llvm-project/commit/e95106f50190d7a25dfad57adf0317ca6cfa9a4f
DIFF: https://github.com/llvm/llvm-project/commit/e95106f50190d7a25dfad57adf0317ca6cfa9a4f.diff
LOG: Add a target triple to fix failures on MS build bots.
-ast-dump=json tries to mangle every declaration, and under the MS ABI
there are still a few things we can't mangle, which caused this test to
assert.
Added:
Modified:
clang/test/Coverage/ast-printing.cpp
Removed:
################################################################################
diff --git a/clang/test/Coverage/ast-printing.cpp b/clang/test/Coverage/ast-printing.cpp
index c1ce70478d74..97279e47b55c 100644
--- a/clang/test/Coverage/ast-printing.cpp
+++ b/clang/test/Coverage/ast-printing.cpp
@@ -4,7 +4,7 @@
// RUN:
diff %t.1.cpp %t.2.cpp
// RUN: %clang_cc1 -std=c++20 -ast-dump %s
// RUN: %clang_cc1 -std=c++20 -ast-dump-all %s
-// RUN: %clang_cc1 -std=c++20 -ast-dump=json %s
+// RUN: %clang_cc1 -std=c++20 -ast-dump=json -triple=x86_64-linux-gnu %s
// RUN: %clang_cc1 -std=c++20 -fdump-record-layouts %s
#include "cxx-language-features.inc"
More information about the cfe-commits
mailing list