Commit 445b897
committed
[Clang][NFC] Explicitly delete copy ctor and assignment for CGAtomicOptionsRAII
Static analysis flagged CGAtomicOptionsRAII as having an explicit destructor
but not having explict copy ctor and assignment. Rule of three says we should.
We are just using this as an RAII object, no need for either so they will be
specified as deleted.1 parent 70e303f commit 445b897
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
869 | 869 | | |
870 | 870 | | |
871 | 871 | | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
872 | 875 | | |
873 | 876 | | |
874 | 877 | | |
| |||
0 commit comments