[PATCH] D41087: [Preprocessor] Implement __is_target_{arch|vendor|os|environment} function-like builtin macros
Alex Lorenz via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 13 11:42:56 PST 2017
arphaman marked an inline comment as done.
arphaman added inline comments.
================
Comment at: test/Preprocessor/is_target_os_darwin.c:22
+
+#if __is_target_os(ios)
+ #error "mismatching os"
----------------
compnerd wrote:
> Is this supposed to be within the `MAC` clause?
Yep, this should not succeed on Mac.
https://reviews.llvm.org/D41087
More information about the cfe-commits
mailing list