r255636 - clang/test/Analysis/padding_c.c: Suppress a test incompatible to i686-linux.

NAKAMURA Takumi via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 15 01:37:01 PST 2015


Author: chapuni
Date: Tue Dec 15 03:37:01 2015
New Revision: 255636

URL: http://llvm.org/viewvc/llvm-project?rev=255636&view=rev
Log:
clang/test/Analysis/padding_c.c: Suppress a test incompatible to i686-linux.

  error: 'warning' diagnostics expected but not seen:
    File clang/test/Analysis/padding_c.c Line 194 (directive at clang/test/Analysis/padding_c.c:193): Excessive padding in 'struct DefaultAttrAlign'
  1 error generated.

Modified:
    cfe/trunk/test/Analysis/padding_c.c

Modified: cfe/trunk/test/Analysis/padding_c.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/padding_c.c?rev=255636&r1=255635&r2=255636&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/padding_c.c (original)
+++ cfe/trunk/test/Analysis/padding_c.c Tue Dec 15 03:37:01 2015
@@ -190,13 +190,6 @@ void anonStructFunc() {
   } obj;
 }
 
-// expected-warning at +1{{Excessive padding in 'struct DefaultAttrAlign'}}
-struct DefaultAttrAlign {
-  char c1;
-  long long i;
-  char c2;
-} __attribute__((aligned));
-
 struct CorrectDefaultAttrAlign { // no-warning
   long long i;
   char c1;




More information about the cfe-commits mailing list