[PATCH] Error on invalid options in -### mode

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Sun Oct 27 07:53:34 PDT 2013


Hi chandlerc,

There seem to be an expectation in the testsuite that -### should fail when the driver itself detects an error.

Unfortunately, that is not currently the case.

This patch fixes that.


http://llvm-reviews.chandlerc.com/D2032

Files:
  include/clang/Driver/Options.td
  lib/Driver/Driver.cpp
  lib/Driver/Tools.cpp
  test/Driver/arm-darwin-builtin.c
  test/Driver/cl-options.c
  test/Driver/cl-outputs.c
  test/Driver/clang_f_opts.c
  test/Driver/color-diagnostics.c
  test/Driver/debug-options.c
  test/Driver/fsanitize-blacklist.c
  test/Driver/fsanitize.c
  test/Driver/gfortran.f90
  test/Driver/no-integrated-as-win.c
  test/Driver/pic.c
  test/Driver/working-directory.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2032.1.patch
Type: text/x-patch
Size: 18432 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131027/a5d50eba/attachment.bin>


More information about the cfe-commits mailing list