aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleSlotTracker.cpp
diff options
context:
space:
mode:
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>2025-03-13 14:17:13 +0800
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>2025-03-13 14:20:30 +0800
commit34f4ee7c0d98cfbee2bfc5cfee72b8090da68dc2 (patch)
treef12dda2f46f6eb56ab487675ad812df17a000a7e /llvm/lib/CodeGen/MachineModuleSlotTracker.cpp
parent1d1f2e8c5be319c91fa696e19a6394fca4e16bea (diff)
downloadllvm-34f4ee7c0d98cfbee2bfc5cfee72b8090da68dc2.zip
llvm-34f4ee7c0d98cfbee2bfc5cfee72b8090da68dc2.tar.gz
llvm-34f4ee7c0d98cfbee2bfc5cfee72b8090da68dc2.tar.bz2
[C++20] [Modules] Merge codes to decide if we should generate decl
There are two piece of codes in ASTWriterDecl to decide whether or not we should generate a function or a variable in current module unit (or PCH with object file extension, which is rarely used). One is in Visit*Decl and One is in `CanElideDef`. Since they are similar it should be better to merge them. This was meant to be a NFC patch. But it seems it helped me to find an existing bug.
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleSlotTracker.cpp')
0 files changed, 0 insertions, 0 deletions