Fix typo.
Thanks to Alp Toker for noticing.
llvm-svn: 210744
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index d8633d8..6b57b18 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -258,12 +258,12 @@
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 {