[PATCH] D58578: [CMake] Fix the value of `config.target_cflags` for non-macOS Apple platforms.

Julian Lettner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 25 10:45:17 PST 2019


yln added inline comments.


================
Comment at: compiler-rt/cmake/config-ix.cmake:221
+
+function(is_valid_apple_platform platform is_valid_out)
+  set(is_valid FALSE)
----------------
Nitpick: is_valid_apple_platform can return true/false, or error.
>From the name I would not expect that it can error.
I would prefer:
is_valid_apple_platform -> true/false
[assert/check/ensure/...]_is_valid_apple_platform -> no return value, just assert.



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58578/new/

https://reviews.llvm.org/D58578





More information about the llvm-commits mailing list