aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/FaultMapParser.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2021-06-04 13:31:22 -0400
committerLouis Dionne <ldionne.2@gmail.com>2021-06-07 12:45:59 -0400
commitfb4e4646188cf43a1e96a0aba6b6d24d8604257c (patch)
tree461d5ea5925dadabc057bb1a3e173c8922c13156 /llvm/lib/Object/FaultMapParser.cpp
parent2c2feebcd1274425c853e3cff7cec6ba033c3ccd (diff)
downloadllvm-fb4e4646188cf43a1e96a0aba6b6d24d8604257c.zip
llvm-fb4e4646188cf43a1e96a0aba6b6d24d8604257c.tar.gz
llvm-fb4e4646188cf43a1e96a0aba6b6d24d8604257c.tar.bz2
[libc++] Simplify a few macros in __config
Several macros were guarded with a check along the lines of: #ifndef MACRO # define MACRO ... #endif However, some of these macros are never intended to be defined by users, so it's pointless to make this check (i.e. the first #ifndef is always true). This commit removes those checks. The motivation for doing this cleanup is to remove the impression that arbitrary configurations macros can be defined by users when including libc++ headers, which doesn't work reliably and leads to macro spaghetti. If one needs to be able to override a knob in the __config, that's fine, but the proper way to do that is to document the macro as being a public facing knob in the documentation, and most likely to migrate that macro to __config_site (depending on the nature of the macro). Differential Revision: https://reviews.llvm.org/D103705
Diffstat (limited to 'llvm/lib/Object/FaultMapParser.cpp')
0 files changed, 0 insertions, 0 deletions