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:
820e46f
)
[docs] Code example fix
author
Jan Korous
<jkorous@apple.com>
Tue, 24 Oct 2017 10:23:10 +0000
(10:23 +0000)
committer
Jan Korous
<jkorous@apple.com>
Tue, 24 Oct 2017 10:23:10 +0000
(10:23 +0000)
llvm-svn: 316425
llvm/docs/ProgrammersManual.rst
patch
|
blob
|
history
diff --git
a/llvm/docs/ProgrammersManual.rst
b/llvm/docs/ProgrammersManual.rst
index
d1ee80a
..
719d399
100644
(file)
--- a/
llvm/docs/ProgrammersManual.rst
+++ b/
llvm/docs/ProgrammersManual.rst
@@
-495,7
+495,7
@@
that inherits from the ErrorInfo utility, E.g.:
Error printFormattedFile(StringRef Path) {
if (<check for valid format>)
- return make_error<
InvalidObjectFile
>(Path);
+ return make_error<
BadFileFormat
>(Path);
// print file contents.
return Error::success();
}