[PATCH] D86137: Add -Wno-error=unknown flag to clang-format.

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 17 04:40:55 PST 2020


njames93 added a comment.
Herald added a subscriber: dexonsmith.

I think the `=` in the option name is confusing the option parser,

  ➜  clang-format --Wno-error=unknown
  clang-format: Unknown command line argument '--Wno-error=unknown'.  Try: 'clang-format --help'
  clang-format: Did you mean '--Werror=unknown'?

Should the name be changed to `Wno-error-unknown`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86137



More information about the cfe-commits mailing list