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

Rafael EspĂ­ndola rafael.espindola at gmail.com
Sat Aug 3 04:50:36 PDT 2013


On 3 August 2013 04:22, David Wiberg <dwiberg at gmail.com> wrote:
> 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.

test/Frontend probably

> 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?

No, that is it: Including the test and making sure it passes.

Cheers,
Rafael



More information about the cfe-commits mailing list