[clang] 357715c - [NFC] Remove max_align.c LIT testcase

Xiangling Liao via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 26 14:15:15 PDT 2020


Author: Xiangling Liao
Date: 2020-10-26T17:14:30-04:00
New Revision: 357715ce97d0bc937301b0b006d145c24a9d23aa

URL: https://github.com/llvm/llvm-project/commit/357715ce97d0bc937301b0b006d145c24a9d23aa
DIFF: https://github.com/llvm/llvm-project/commit/357715ce97d0bc937301b0b006d145c24a9d23aa.diff

LOG: [NFC] Remove max_align.c LIT testcase

Since we fixed the definition of `SuitableAlign`[https://reviews.llvm.org/D88659],
`max_align_t` and `__BIGGEST_ALIGNMENT__` are not necessarily the same always.

The original testcase was added here: https://reviews.llvm.org/D59048

Differential Revision: https://reviews.llvm.org/D90187

Added: 
    

Modified: 
    

Removed: 
    clang/test/Headers/max_align.c


################################################################################
diff  --git a/clang/test/Headers/max_align.c b/clang/test/Headers/max_align.c
deleted file mode 100644
index 67a914d6b67e..000000000000
--- a/clang/test/Headers/max_align.c
+++ /dev/null
@@ -1,12 +0,0 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c11 -verify %s
-// expected-no-diagnostics
-
-// XFAIL: windows-, i686
-
-#ifndef __BIGGEST_ALIGNMENT__
-#error __BIGGEST_ALIGNMENT__ not defined
-#endif
-
-#include <stddef.h>
-
-_Static_assert(__BIGGEST_ALIGNMENT__ == _Alignof(max_align_t), "");


        


More information about the cfe-commits mailing list