Skip to content

Commit

Permalink
ASan: Remove noexcept from `__sanitizer_annotate_contiguous_contain…
Browse files Browse the repository at this point in the history
…er` (#4150)
  • Loading branch information
StephanTLavavej authored Nov 7, 2023
1 parent f392449 commit 900eeac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stl/inc/__msvc_sanitizer_annotate_container.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,9 @@ extern const bool _Asan_string_should_annotate;

#if defined(_INSERT_VECTOR_ANNOTATION) || defined(_INSERT_STRING_ANNOTATION)
extern "C" {
// This must match ASan's primary declaration, which isn't marked `noexcept`.
void __cdecl __sanitizer_annotate_contiguous_container(
const void* _First, const void* _End, const void* _Old_last, const void* _New_last) noexcept;
const void* _First, const void* _End, const void* _Old_last, const void* _New_last);
}

#ifdef _M_ARM64EC
Expand Down

0 comments on commit 900eeac

Please sign in to comment.