[Openmp-commits] [PATCH] D93727: [OpenMP] Add using bit flags to select Libomptarget Information

George Rokos via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Jan 26 13:06:17 PST 2021


grokos added a comment.

I tried inserting the following forward-declaration right before the function definition and the problem seems to go away:

  static inline uint32_t getInfoLevel() __attribute__((used));

I guess it's better to have the above rather than a dummy call?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93727



More information about the Openmp-commits mailing list