diff options
author | Daniil Kovalev <daniil@kovalev.website> | 2022-04-06 21:03:58 +0300 |
---|---|---|
committer | Daniil Kovalev <daniil@kovalev.website> | 2022-04-06 21:05:04 +0300 |
commit | 28cb9081f8cb686c7a8171477b00afc344c3d10a (patch) | |
tree | 4561fda1c92e8e94020a47f7aac8f8e109f35839 /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | 25b7efc9d1042347b0cbd22004221c52b0ce2d85 (diff) | |
download | llvm-28cb9081f8cb686c7a8171477b00afc344c3d10a.zip llvm-28cb9081f8cb686c7a8171477b00afc344c3d10a.tar.gz llvm-28cb9081f8cb686c7a8171477b00afc344c3d10a.tar.bz2 |
[NFC][CodeGen] Add comments for SDNode debug ID
Normally, we place fields serving for debug purpose declarations
under `#if LLVM_ENABLE_ABI_BREAKING_CHECKS`. For `SDNode::PersistentId` and
`SelectionDAG::NextPersistentId`, we do not want to do so because it adds
unneeded complexity without noticeable benefits (see discussion with @thakis
in D120714). This patch adds comments describing why we don't place those
fields under `#if` not to confuse anyone more.
Differential Revision: https://reviews.llvm.org/D123238
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions