[PATCH] D116139: [ORC-RT] Add debug logging macros.
Ben Langmuir via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 22 10:04:24 PST 2021
benlangmuir added inline comments.
================
Comment at: compiler-rt/lib/orc/debug.h:36
+ ::__orc_rt::isCurrentDebugType(TYPE)) \
+ X; \
+ } while (false)
----------------
X needs to be in `{}` or it could have a dangling `else`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116139/new/
https://reviews.llvm.org/D116139
More information about the llvm-commits
mailing list