projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
958a59b
)
Use error_code::success() instead of make_error_code(llvm::errc::success).
author
Alexander Kornienko
<alexfh@google.com>
Thu, 22 May 2014 22:06:08 +0000
(22:06 +0000)
committer
Alexander Kornienko
<alexfh@google.com>
Thu, 22 May 2014 22:06:08 +0000
(22:06 +0000)
llvm-svn: 209477
clang/lib/Format/Format.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Format/Format.cpp
b/clang/lib/Format/Format.cpp
index
49c9a4a
..
7d0e102
100644
(file)
--- a/
clang/lib/Format/Format.cpp
+++ b/
clang/lib/Format/Format.cpp
@@
-482,7
+482,7
@@
llvm::error_code parseConfiguration(StringRef Text, FormatStyle *Style) {
Styles[i].Language == FormatStyle::LK_None) {
*Style = Styles[i];
Style->Language = Language;
- return llvm::
make_error_code(llvm::errc::success
);
+ return llvm::
error_code::success(
);
}
}
return llvm::make_error_code(llvm::errc::not_supported);