[PATCH] D150966: [clang] Don't define predefined macros multiple times
Sergei Barannikov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 19 07:58:53 PDT 2023
barannikov88 added a comment.
Q: What is it the -Wsystem-header can warn about? I mean, no system header is included by the test, what can go wrong?
================
Comment at: clang/test/Preprocessor/predefined-macros-no-warnings.c:2
+// Check that the predefined macros don't contain anything that causes a warning with -Wsystem-headers
+// RUN: %clang_cc1 %s -E -o - -Wsystem-headers -Werror -triple arc
+// RUN: %clang_cc1 %s -E -o - -Wsystem-headers -Werror -triple xcore
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150966/new/
https://reviews.llvm.org/D150966
More information about the cfe-commits
mailing list