diff --git a/clang/include/clang/Tooling/Tooling.h b/clang/include/clang/Tooling/Tooling.h --- a/clang/include/clang/Tooling/Tooling.h +++ b/clang/include/clang/Tooling/Tooling.h @@ -267,6 +267,9 @@ ~ToolInvocation(); + ToolInvocation(const ToolInvocation &) = delete; + ToolInvocation &operator=(const ToolInvocation &) = delete; + /// Set a \c DiagnosticConsumer to use during driver command-line parsing and /// the action invocation itself. void setDiagnosticConsumer(DiagnosticConsumer *DiagConsumer) {