A while back, createStringError was added to provide easier construction of StringError instances, especially with formatting options. I noticed today 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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM