[PATCH] D155842: [NFC][clang] Fix static analyzer concerns
Tom Honermann via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 20 12:54:41 PDT 2023
tahonermann accepted this revision.
tahonermann added a comment.
This is a good change since the default copy constructor would do bad things when `ownsOutputFile` is true. The copy assignment operator is already implicitly deleted because of the presence of a data member of reference type, but I think it is helpful to explicitly delete both.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155842/new/
https://reviews.llvm.org/D155842
More information about the cfe-commits
mailing list