Extra flag to prevent Intel compiler with Clang front-end warning of 'unknown attribute no_sanitize'
This commit is contained in:
parent
0fb8ef8f79
commit
f7151d384b
@ -369,7 +369,7 @@ template <typename T> inline T* make_checked(T* p, size_t) { return p; }
|
||||
#endif
|
||||
|
||||
template <typename Container, FMT_ENABLE_IF(is_contiguous<Container>::value)>
|
||||
#if FMT_CLANG_VERSION >= 307
|
||||
#if FMT_CLANG_VERSION >= 307 && !FMT_ICC_VERSION
|
||||
__attribute__((no_sanitize("undefined")))
|
||||
#endif
|
||||
inline checked_ptr<typename Container::value_type>
|
||||
|
Loading…
Reference in New Issue
Block a user