We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1eea92e commit 428a15fCopy full SHA for 428a15f
libcxx/include/string
@@ -1891,9 +1891,8 @@ private:
1891
#if !defined(_LIBCPP_HAS_NO_ASAN) && defined(_LIBCPP_INSTRUMENTED_WITH_ASAN)
1892
const void* __begin = data();
1893
const void* __end = data() + capacity() + 1;
1894
- if _LIBCPP_CONSTEXPR_SINCE_CXX17 (__asan_annotate_container_with_allocator<allocator_type>::value)
1895
- if(!__libcpp_is_constant_evaluated())
1896
- __sanitizer_annotate_contiguous_container(__begin, __end, __old_mid, __new_mid);
+ if (__asan_annotate_container_with_allocator<allocator_type>::value && !__libcpp_is_constant_evaluated())
+ __sanitizer_annotate_contiguous_container(__begin, __end, __old_mid, __new_mid);
1897
#endif
1898
}
1899
0 commit comments