aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorJames Henderson <jh7370@my.bristol.ac.uk>2019-02-01 10:02:42 +0000
committerJames Henderson <jh7370@my.bristol.ac.uk>2019-02-01 10:02:42 +0000
commitfb3ca132b12f7a3899b74e6a79d961201c7d9cfe (patch)
tree50d0fbc02e7f086fa3549c79f7706e82875aaf81 /llvm/lib/Support/CommandLine.cpp
parent758657e56550c0681260bb61b0a2bddb4a5c2e6d (diff)
downloadllvm-fb3ca132b12f7a3899b74e6a79d961201c7d9cfe.zip
llvm-fb3ca132b12f7a3899b74e6a79d961201c7d9cfe.tar.gz
llvm-fb3ca132b12f7a3899b74e6a79d961201c7d9cfe.tar.bz2
[doc]Update String Error documentation in Programmer Manual
A while back, createStringError was added to provide easier construction of StringError instances, especially with formatting options. Prior to this patch, that the documentation only mentions the standard method of using it. Since createStringError is slightly shorter to type, and also provides the formatting options, this patch updates the Programmer's Manual to use the new function in its examples, and to mention the printf formatting options. It also fixes a small typo in one of the examples and removes the unnecessary make_error_code call. llvm-svn: 352846
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions