diff --git a/clang/include/clang/Sema/IdentifierResolver.h b/clang/include/clang/Sema/IdentifierResolver.h --- a/clang/include/clang/Sema/IdentifierResolver.h +++ b/clang/include/clang/Sema/IdentifierResolver.h @@ -134,6 +134,9 @@ explicit IdentifierResolver(Preprocessor &PP); ~IdentifierResolver(); + IdentifierResolver(const IdentifierResolver &) = delete; + IdentifierResolver &operator=(const IdentifierResolver &) = delete; + /// Returns a range of decls with the name 'Name'. llvm::iterator_range decls(DeclarationName Name);