[PATCH] D82193: [OpenMPOpt] ICV macro definitions

David Tenty via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 26 07:37:25 PDT 2020


daltenty added inline comments.


================
Comment at: llvm/include/llvm/Frontend/OpenMP/OMPKinds.def:327
+__ICV_DATA_ENV(active_levels, NONE, ZERO)
+__ICV_DATA_ENV(cancel, OMP_CANCELLATION, FALSE)
+__ICV_DATA_ENV(__last, last, LAST)
----------------
sstefan1 wrote:
> fhahn wrote:
> > Is it possible to use a different name than `FALSE` here, because it will fail to compile if the system headers contain a `FALSE` define? Maybe something like `ICV_FALSE` to avoid conflicts.
> Sure! I hope we will move away from macro magic soon anyway.
> 
> @jdoerfert sounds good?
We currently have exactly such a build break from this change on AIX due to the system headers defining `FALSE`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D82193





More information about the llvm-commits mailing list