Thanks to Alp Toker for noticing.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210744
91177308-0d34-0410-b5e6-
96231b3b80d8
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 {