Author: hans Date: Tue May 15 03:19:24 2018 New Revision: 332335 URL: http://llvm.org/viewvc/llvm-project?rev=332335&view=rev Log: 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. Modified: cfe/trunk/test/Misc/ast-print-record-decl.c Modified: cfe/trunk/test/Misc/ast-print-record-decl.c URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Misc/ast-print-record-decl.c?rev=332335&r1=332334&r2=332335&view=diff ============================================================================== --- cfe/trunk/test/Misc/ast-print-record-decl.c (original) +++ cfe/trunk/test/Misc/ast-print-record-decl.c Tue May 15 03:19:24 2018 @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits