[PATCH] Indicate success for simple options when clang called with -cc1

David Wiberg dwiberg at gmail.com
Sat Aug 3 01:22:31 PDT 2013


Hello,

Running the following line:
    clang -cc1 [-help | -version | -analyzer-checker-help]
will cause clang to exit with return code != 0.

The attached patch changes this behavior to return 0. No test case has
been created. If this is wanted I will need input on where it should
be created.

Using Visual Studio I have run the "clang-test" project. Is there
anything else I'm supposed to do in preparation when sending a patch?

/ David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ReturnCode.patch
Type: application/octet-stream
Size: 1013 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130803/1e5c45db/attachment.obj>


More information about the cfe-commits mailing list