diff --git a/llvm/include/llvm/Support/Error.h b/llvm/include/llvm/Support/Error.h --- a/llvm/include/llvm/Support/Error.h +++ b/llvm/include/llvm/Support/Error.h @@ -788,7 +788,7 @@ : public ErrorHandlerTraits::type::operator())> {}; -// Specialization functions of the form 'Error (const ErrT&)'. +// Specialization functions of the form 'Error (ErrT&)'. template class ErrorHandlerTraits { public: static bool appliesTo(const ErrorInfoBase &E) { @@ -802,7 +802,7 @@ } }; -// Specialization functions of the form 'void (const ErrT&)'. +// Specialization functions of the form 'void (ErrT&)'. template class ErrorHandlerTraits { public: static bool appliesTo(const ErrorInfoBase &E) { @@ -850,12 +850,12 @@ } }; -// Specialization for member functions of the form 'RetT (const ErrT&)'. +// Specialization for member functions of the form 'RetT (ErrT&)'. template class ErrorHandlerTraits : public ErrorHandlerTraits {}; -// Specialization for member functions of the form 'RetT (const ErrT&) const'. +// Specialization for member functions of the form 'RetT (ErrT&) const'. template class ErrorHandlerTraits : public ErrorHandlerTraits {};