[PATCH] D86137: Add ignore-unknown-options flag to clang-format.

Joachim Meyer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 8 05:24:16 PDT 2020


fodinabor updated this revision to Diff 290460.
fodinabor marked 9 inline comments as done.
fodinabor added a comment.

Incorporating review comments:

- renaming option to -Wno-error=unknown and adding warning in description
- emit warnings instead of fully ignoring the issues

Documentation and unit tests will follow


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86137

Files:
  .clang-format
  clang/include/clang/Format/Format.h
  clang/lib/Format/Format.cpp
  clang/tools/clang-format/ClangFormat.cpp
  llvm/include/llvm/Support/YAMLParser.h
  llvm/include/llvm/Support/YAMLTraits.h
  llvm/lib/Support/YAMLParser.cpp
  llvm/lib/Support/YAMLTraits.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86137.290460.patch
Type: text/x-patch
Size: 10527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200908/33384617/attachment-0001.bin>


More information about the cfe-commits mailing list