[llvm] Add clang::lifetimebound annotation to ArrayRef constructors. (PR #113547)
Haojian Wu via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 25 12:26:47 PDT 2024
================
@@ -413,6 +413,12 @@
#define LLVM_GSL_POINTER
#endif
+#if LLVM_HAS_CPP_ATTRIBUTE(clang::lifetimebound)
+#define LLVM_LIFETIME_BOUND [[clang::lifetimebound]]
+#else
+#define LLVM_LLVM_LIFETIME_BOUND
----------------
hokein wrote:
good catch, removed the extra `LLVM_`.
https://github.com/llvm/llvm-project/pull/113547
More information about the llvm-commits
mailing list