diff options
| author | Louis Dionne <ldionne@apple.com> | 2020-10-02 15:02:52 -0400 |
|---|---|---|
| committer | Louis Dionne <ldionne@apple.com> | 2020-10-02 15:11:23 -0400 |
| commit | 31e820378b8ae4d81e9d206a7dae64ccf4b4c97f (patch) | |
| tree | 31c0092cca79ef803fd4dd1752d3375b6cf1a23a /llvm/tools/llvm-objcopy/ELF/Object.cpp | |
| parent | 66cf68ed46789217a8382bb419a0bda1c4e97650 (diff) | |
| download | llvm-31e820378b8ae4d81e9d206a7dae64ccf4b4c97f.zip llvm-31e820378b8ae4d81e9d206a7dae64ccf4b4c97f.tar.gz llvm-31e820378b8ae4d81e9d206a7dae64ccf4b4c97f.tar.bz2 | |
[libc++] NFCI: Simplify macro definitions for the debug mode
The debug mode always had three possibilities:
- _LIBCPP_DEBUG is undefined => no assertions
- _LIBCPP_DEBUG == 0 => some assertions
- _LIBCPP_DEBUG == 1 => some assertions + iterator checks
This was documented that way, however the code did not make this clear
at all. The discrepancy between _LIBCPP_DEBUG and _LIBCPP_DEBUG_LEVEL
was especially confusing. I reworked how the various macros are defined
without changing anything else to make the code clearer.
Diffstat (limited to 'llvm/tools/llvm-objcopy/ELF/Object.cpp')
0 files changed, 0 insertions, 0 deletions
