From 76da53dd960771ec458ad2add8a39a7876d3bd62 Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Tue, 15 May 2018 10:19:24 +0000 Subject: [PATCH] Make ast-print-record-decl.c pass on Windows after r332314 It was failing because on Windows, -ast-print prints __single_inheritance(1) before T1. Adding a triple is a stop-gap fix until it can be fixed properly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@332335 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Misc/ast-print-record-decl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Misc/ast-print-record-decl.c b/test/Misc/ast-print-record-decl.c index c28c0aba79..48e6378e1c 100644 --- a/test/Misc/ast-print-record-decl.c +++ b/test/Misc/ast-print-record-decl.c @@ -54,7 +54,7 @@ // RUN: -DKW=struct -DBASES=' : B' -o - -xc++ %s \ // RUN: | FileCheck --check-prefixes=CHECK,LLVM %s // -// RUN: %clang_cc1 -verify -ast-print -DKW=struct -DBASES=' : B' -xc++ %s \ +// RUN: %clang_cc1 -verify -triple x86_64-linux -ast-print -DKW=struct -DBASES=' : B' -xc++ %s \ // RUN: > %t.cpp // RUN: FileCheck --check-prefixes=CHECK,PRINT,PRINT-CXX -DKW=struct \ // RUN: -DBASES=' : B' %s --input-file %t.cpp @@ -67,7 +67,7 @@ // RUN: %clang -target x86_64-linux -Xclang -verify -S -emit-llvm -o - %t.cpp \ // RUN: | FileCheck --check-prefixes=CHECK,LLVM %s // -// RUN: %clang_cc1 -verify -ast-print %t.cpp \ +// RUN: %clang_cc1 -verify -triple x86_64-linux -ast-print %t.cpp \ // RUN: | FileCheck --check-prefixes=CHECK,PRINT,PRINT-CXX -DKW=struct \ // RUN: -DBASES=' : B' %s -- 2.40.0