diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2025-06-25 09:11:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-25 09:11:00 -0400 |
commit | 77618a9253d22ed9010eef561dcff68b61c39115 (patch) | |
tree | b3784929b10e5e7ff3c6ccff2783ca08e0489134 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 01174ff2babece33c9cb72452befaff835b82de8 (diff) | |
download | llvm-77618a9253d22ed9010eef561dcff68b61c39115.zip llvm-77618a9253d22ed9010eef561dcff68b61c39115.tar.gz llvm-77618a9253d22ed9010eef561dcff68b61c39115.tar.bz2 |
Delete copy constructor/assignment; NFC (#145689)
This is an RAII object and static analysis was flagging it for not
following the rule of three (or five).
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 59f14b3..6c32c98 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -234,6 +234,9 @@ class ApplyAtomGroup { uint64_t OriginalAtom = 0; CGDebugInfo *DI = nullptr; + ApplyAtomGroup(const ApplyAtomGroup &) = delete; + void operator=(const ApplyAtomGroup &) = delete; + public: ApplyAtomGroup(CGDebugInfo *DI); ~ApplyAtomGroup(); |