================
@@ -81,6 +81,9 @@ class ClangTidyContext {
~ClangTidyContext();
+ ClangTidyContext(const ClangTidyContext &) = default;
+ ClangTidyContext &operator=(const ClangTidyContext &) = default;
----------------
AaronBallman wrote:
I think these would make more sense as `= delete;` so that we prevent
accidental copies of the context object. (We want this passed around by
reference or pointer only.)
https://github.com/llvm/llvm-project/pull/118655
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits