[PATCH] D97614: [clang-tidy] Remove OptionError

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 27 04:52:49 PST 2021


njames93 created this revision.
njames93 added reviewers: aaron.ballman, alexfh.
Herald added a subscriber: xazax.hun.
njames93 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

The interface served a purpose, but since the ability to emit diagnostics when parsing configuration was added, its become mostly redundant. Emitting the diagnostic and removing the boilerplate is much cleaner.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97614

Files:
  clang-tools-extra/clang-tidy/ClangTidyCheck.cpp
  clang-tools-extra/clang-tidy/ClangTidyCheck.h
  clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
  clang-tools-extra/unittests/clang-tidy/ClangTidyOptionsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97614.326898.patch
Type: text/x-patch
Size: 40310 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210227/9c3ba5d6/attachment-0001.bin>


More information about the cfe-commits mailing list