[PATCH] D111520: [TypeSwitch/Compiler.h] Provide a LLVM_NODEBUG macro and use it in TypeSwitch.h
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 11 09:47:22 PDT 2021
aeubanks added inline comments.
================
Comment at: llvm/include/llvm/Support/Compiler.h:255
+#if __has_attribute(nodebug) || LLVM_GNUC_PREREQ(4, 0, 0)
+#define LLVM_NODEBUG __attribute__((nodebug))
+#else
----------------
`LLVM_ATTRIBUTE_NODEBUG`? When I saw `LLVM_NODEBUG` the first thing I thought of was the opposite of `LLVM_DEBUG`, which is very different.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111520/new/
https://reviews.llvm.org/D111520
More information about the llvm-commits
mailing list