summaryrefslogtreecommitdiff
path: root/lib/Format/Format.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-12 03:31:26 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-12 03:31:26 +0000
commitcecf7fc2b98f52ef9f6d9a4ba02ea8f47bd73ca1 (patch)
tree79139cb925c9cb1a6993797bc6ff753d8c52af77 /lib/Format/Format.cpp
parent7096fc133c10858858ab44ea040aa7bc9d06482e (diff)
downloadclang-cecf7fc2b98f52ef9f6d9a4ba02ea8f47bd73ca1.tar.gz
clang-cecf7fc2b98f52ef9f6d9a4ba02ea8f47bd73ca1.tar.bz2
clang-cecf7fc2b98f52ef9f6d9a4ba02ea8f47bd73ca1.tar.xz
Fix typo.
Thanks to Alp Toker for noticing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210744 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/Format.cpp')
-rw-r--r--lib/Format/Format.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp
index d8633d88f1..6b57b184d2 100644
--- a/lib/Format/Format.cpp
+++ b/lib/Format/Format.cpp
@@ -258,12 +258,12 @@ template <> struct DocumentListTraits<std::vector<FormatStyle> > {
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 {