[clang] 2a404cd - [randstruct] Force errors for all platforms
Bill Wendling via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 15 15:17:15 PDT 2022
Author: Bill Wendling
Date: 2022-04-15T15:17:07-07:00
New Revision: 2a404cdfd8bc75de593ce0e15fff0a7a0a18ec1c
URL: https://github.com/llvm/llvm-project/commit/2a404cdfd8bc75de593ce0e15fff0a7a0a18ec1c
DIFF: https://github.com/llvm/llvm-project/commit/2a404cdfd8bc75de593ce0e15fff0a7a0a18ec1c.diff
LOG: [randstruct] Force errors for all platforms
Added:
Modified:
clang/test/Sema/init-randomized-struct.c
Removed:
################################################################################
diff --git a/clang/test/Sema/init-randomized-struct.c b/clang/test/Sema/init-randomized-struct.c
index 87842e1f19e80..7ce19165921e3 100644
--- a/clang/test/Sema/init-randomized-struct.c
+++ b/clang/test/Sema/init-randomized-struct.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -verify -fsyntax-only -frandomize-layout-seed=1234567890abcdef
+// RUN: %clang_cc1 %s -verify -fsyntax-only -Werror -frandomize-layout-seed=1234567890abcdef
// Initializing a randomized structure requires a designated initializer,
// otherwise the element ordering will be off. The only exceptions to this rule
More information about the cfe-commits
mailing list