Thanks to Alp Toker for noticing.
llvm-svn: 210744
const char *name() const LLVM_NOEXCEPT override;
std::string message(int EV) const override;
};
-const std::error_category &getParestCategory();
+const std::error_category &getParseCategory();
std::error_code make_error_code(ParseError e);
/// \brief The \c FormatStyle is used to configure the formatting to follow
namespace clang {
namespace format {
-const std::error_category &getParestCategory() {
+const std::error_category &getParseCategory() {
static ParseErrorCategory C;
return C;
}
std::error_code make_error_code(ParseError e) {
- return std::error_code(static_cast<int>(e), getParestCategory());
+ return std::error_code(static_cast<int>(e), getParseCategory());
}
const char *ParseErrorCategory::name() const LLVM_NOEXCEPT {