[PATCH] D30893: [Support][CommandLine] Make it possible to get error messages from ParseCommandLineOptions when ignoring errors.

Eric Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 13 07:41:33 PDT 2017


ioeric created this revision.

Previously, ParseCommandLineOptions returns false and ignores error messages
when IgnoreErrors. It would be useful to also return error messages if users
decide to check parsing result instead of having the program exit on error.


https://reviews.llvm.org/D30893

Files:
  include/llvm/Support/CommandLine.h
  lib/Support/CommandLine.cpp
  unittests/Support/CommandLineTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30893.91559.patch
Type: text/x-patch
Size: 13166 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170313/b36754e1/attachment.bin>


More information about the llvm-commits mailing list