aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Compiler.cpp
diff options
context:
space:
mode:
authorSergei Barannikov <barannikov88@gmail.com>2025-09-07 18:57:38 +0300
committerGitHub <noreply@github.com>2025-09-07 18:57:38 +0300
commite41da79198f77faab7b9f110a734f6b03bd8483c (patch)
tree519657504faae858885710ebfc8f59310799d885 /clang/lib/AST/ByteCode/Compiler.cpp
parent645dd324d1b7d028745c2a4045b69e745df2ae6a (diff)
downloadllvm-e41da79198f77faab7b9f110a734f6b03bd8483c.zip
llvm-e41da79198f77faab7b9f110a734f6b03bd8483c.tar.gz
llvm-e41da79198f77faab7b9f110a734f6b03bd8483c.tar.bz2
[CodeGen] Make TargetRegisterInfo destructor public (NFC) (#157341)
All in-tree targets store target-specific TRI in target-specific Subtarget/InstrInfo class by value, but some downstream targets may prefer to store it as `std::unique_ptr<const TargetRegisterInfo>` (to avoid inclusion of MyTargetRegisterInfo.h in MySubtarget.h). Making the destructor public makes this possible, and also follows general C++ guidelines (the destructor should be either public virtual or protected non-virtual). All other related classes already have their destructors public.
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions