[PATCH] D99447: [OpenMP] Define omp_is_initial_device() variants in omp.h

Hansang Bae via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 5 15:43:29 PDT 2021


hbae updated this revision to Diff 335347.
hbae added a comment.

Added inline after static to avoid unused function warning.
Added a RUN line to the test to catch unused function warning.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99447

Files:
  clang/include/clang/Basic/Builtins.def
  clang/lib/AST/ExprConstant.cpp
  clang/test/OpenMP/is_initial_device.c
  openmp/libomptarget/test/api/is_initial_device.c
  openmp/runtime/src/include/omp.h.var

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99447.335347.patch
Type: text/x-patch
Size: 5115 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210405/7233e423/attachment.bin>


More information about the cfe-commits mailing list