[PATCH] D64506: clang-cl: Remove -O0 option

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 10 09:12:52 PDT 2019


thakis added a comment.

I did check that we now warn, like you had requested:

  $ out/gn/bin/clang-cl test.cc /O0 /c
  clang: warning: argument unused during compilation: '/O0' [-Wunused-command-line-argument]

Adding a test for that felt weird though, so I didn't.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64506/new/

https://reviews.llvm.org/D64506





More information about the cfe-commits mailing list