Author: chandlerc Date: Thu Jan 26 03:28:50 2012 New Revision: 149058 URL: http://llvm.org/viewvc/llvm-project?rev=149058&view=rev Log: 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. ;]
Modified: cfe/trunk/test/CodeGen/override-layout.c Modified: cfe/trunk/test/CodeGen/override-layout.c URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/override-layout.c?rev=149058&r1=149057&r2=149058&view=diff ============================================================================== --- cfe/trunk/test/CodeGen/override-layout.c (original) +++ cfe/trunk/test/CodeGen/override-layout.c Thu Jan 26 03:28:50 2012 @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits