[Openmp-commits] [openmp] [NFC][OpenMP][OMPX] Use `[[clang::always_inline]]` instead of `inline` (PR #91294)

Mital Ashok via Openmp-commits openmp-commits at lists.llvm.org
Wed May 8 06:17:31 PDT 2024


================
@@ -9,6 +9,8 @@
 #ifndef __OMPX_H
 #define __OMPX_H
 
+#define INLINE [[clang::always_inline]]
----------------
MitalAshok wrote:

```suggestion
#define __INLINE [[clang::__always_inline__]]
```

Prevent user macros from interfering

https://github.com/llvm/llvm-project/pull/91294


More information about the Openmp-commits mailing list