diff --git a/flang-rt/include/flang-rt/runtime/descriptor.h b/flang-rt/include/flang-rt/runtime/descriptor.h index 19e1a0bf6a1d..dcdfe073a708 100644 --- a/flang-rt/include/flang-rt/runtime/descriptor.h +++ b/flang-rt/include/flang-rt/runtime/descriptor.h @@ -481,5 +481,8 @@ private: char storage_[byteSize]{}; }; +// Deduction guide to avoid warnings from older versions of clang. +StaticDescriptor() -> StaticDescriptor; + } // namespace Fortran::runtime #endif // FLANG_RT_RUNTIME_DESCRIPTOR_H_