================ @@ -307,6 +307,16 @@ #define LLVM_GSL_POINTER #endif +#if LLVM_HAS_CPP_ATTRIBUTE(gnu::visibility) +#if __has_cpp_attribute(nodiscard) >= 201907L ---------------- jroelofs wrote: ```suggestion #if LLVM_HAS_CPP_ATTRIBUTE(nodiscard) >= 201907L ``` https://github.com/llvm/llvm-project/pull/65418