diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 03:31:26 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 03:31:26 +0000 |
| commit | cecf7fc2b98f52ef9f6d9a4ba02ea8f47bd73ca1 (patch) | |
| tree | 79139cb925c9cb1a6993797bc6ff753d8c52af77 /lib/Format/Format.cpp | |
| parent | 7096fc133c10858858ab44ea040aa7bc9d06482e (diff) | |
| download | clang-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.cpp | 4 |
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 { |
