diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2022-05-12 20:26:16 +0300 |
---|---|---|
committer | Louis Dionne <ldionne.2@gmail.com> | 2022-05-12 20:26:55 +0300 |
commit | 2f21f5b06a490396af10359b32c6313521e526a1 (patch) | |
tree | d7b8fd25659aaa3b7f478d6e744c874cf7502db7 /libcxxabi/src/cxa_default_handlers.cpp | |
parent | c671041720347c9deb35b1165ee6b6bb88abf07a (diff) |
[libc++abi][NFC] Add comment on long reaching #if
Diffstat (limited to 'libcxxabi/src/cxa_default_handlers.cpp')
-rw-r--r-- | libcxxabi/src/cxa_default_handlers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxxabi/src/cxa_default_handlers.cpp b/libcxxabi/src/cxa_default_handlers.cpp index 800204c1dd86..49e21c983478 100644 --- a/libcxxabi/src/cxa_default_handlers.cpp +++ b/libcxxabi/src/cxa_default_handlers.cpp @@ -93,10 +93,10 @@ static void demangling_unexpected_handler() static constexpr std::terminate_handler default_terminate_handler = demangling_terminate_handler; static constexpr std::terminate_handler default_unexpected_handler = demangling_unexpected_handler; -#else +#else // !LIBCXXABI_SILENT_TERMINATE static constexpr std::terminate_handler default_terminate_handler = ::abort; static constexpr std::terminate_handler default_unexpected_handler = std::terminate; -#endif +#endif // !LIBCXXABI_SILENT_TERMINATE // // Global variables that hold the pointers to the current handler |