From: Aaron Ballman Date: Mon, 10 Dec 2018 19:18:11 +0000 (+0000) Subject: Add an explicit triple to this test to fix failing test bots. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=490e5f21cce2e75038396e5d85e2ca228d8b406c;p=clang Add an explicit triple to this test to fix failing test bots. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@348790 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/AST/ast-dump-expr.c b/test/AST/ast-dump-expr.c index 645d4037a8..6011ab7975 100644 --- a/test/AST/ast-dump-expr.c +++ b/test/AST/ast-dump-expr.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -Wno-unused-value -std=gnu11 -ast-dump %s | FileCheck -strict-whitespace %s +// RUN: %clang_cc1 -triple x86_64-unknown-unknown -Wno-unused-value -std=gnu11 -ast-dump %s | FileCheck -strict-whitespace %s void Comma(void) { 1, 2, 3; @@ -213,15 +213,15 @@ void UnaryOperators(int a, int *b) { // CHECK-NEXT: DeclRefExpr 0x{{[^ ]*}} 'int' lvalue ParmVar 0x{{[^ ]*}} 'a' 'int' sizeof a; - // CHECK: UnaryExprOrTypeTraitExpr 0x{{[^ ]*}} 'unsigned long long' sizeof + // CHECK: UnaryExprOrTypeTraitExpr 0x{{[^ ]*}} 'unsigned long' sizeof // CHECK-NEXT: DeclRefExpr 0x{{[^ ]*}} 'int' lvalue ParmVar 0x{{[^ ]*}} 'a' 'int' sizeof(int); - // CHECK: UnaryExprOrTypeTraitExpr 0x{{[^ ]*}} 'unsigned long long' sizeof 'int' + // CHECK: UnaryExprOrTypeTraitExpr 0x{{[^ ]*}} 'unsigned long' sizeof 'int' _Alignof(int); // FIXME: Uses C++ spelling for alignof in C mode. - // CHECK: UnaryExprOrTypeTraitExpr 0x{{[^ ]*}} 'unsigned long long' alignof 'int' + // CHECK: UnaryExprOrTypeTraitExpr 0x{{[^ ]*}} 'unsigned long' alignof 'int' } struct S { @@ -287,7 +287,7 @@ void PrimaryExpressions(int a) { // CHECK: CharacterLiteral 0x{{[^ ]*}} 'int' 97 L'a'; - // CHECK: CharacterLiteral 0x{{[^ ]*}} 'unsigned short' 97 + // CHECK: CharacterLiteral 0x{{[^ ]*}} 'int' 97 "a"; // ImplicitCastExpr @@ -295,7 +295,7 @@ void PrimaryExpressions(int a) { L"a"; // ImplicitCastExpr - // CHECK: StringLiteral 0x{{[^ ]*}} 'unsigned short [2]' lvalue L"a" + // CHECK: StringLiteral 0x{{[^ ]*}} 'int [2]' lvalue L"a" u8"a"; // ImplicitCastExpr