From: Chandler Carruth Date: Thu, 26 Jan 2012 09:28:50 +0000 (+0000) Subject: Suppress any warnings from this test. They aren't interesting, and they X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=13663926db6e62c0ed5203d8ec4e543b2c190f0f;p=clang Suppress any warnings from this test. They aren't interesting, and they end up in the same output file as the layout stuff. There may even be a race condition which is causing this output to confuse the FileCheck in some cases. I actually don't know how on earth the parsing of the layout file even works given that there are diagnostics in the middle of it. ;] git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149058 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/override-layout.c b/test/CodeGen/override-layout.c index 44b58f0778..687cc04e30 100644 --- a/test/CodeGen/override-layout.c +++ b/test/CodeGen/override-layout.c @@ -1,6 +1,6 @@ -// RUN: %clang_cc1 -fdump-record-layouts %s 2> %t.layouts -// RUN: %clang_cc1 -fdump-record-layouts-simple %s > %t.before 2>&1 -// RUN: %clang_cc1 -DPACKED= -DALIGNED16= -fdump-record-layouts-simple -foverride-record-layout=%t.layouts %s > %t.after 2>&1 +// RUN: %clang_cc1 -w -fdump-record-layouts %s 2> %t.layouts +// RUN: %clang_cc1 -w -fdump-record-layouts-simple %s > %t.before 2>&1 +// RUN: %clang_cc1 -w -DPACKED= -DALIGNED16= -fdump-record-layouts-simple -foverride-record-layout=%t.layouts %s > %t.after 2>&1 // RUN: diff %t.before %t.after // RUN: FileCheck %s < %t.after