[PATCH] Add clang-tidy -line-filter option to filter findings by line ranges.

Alexander Kornienko alexfh at google.com
Thu May 22 06:08:33 PDT 2014


Hi klimek,

This is going to be used for a clang-tidy-diff script to display
warnings in changed lines only. The option uses JSON, as its value is not
intended to be entered manually.

http://reviews.llvm.org/D3873

Files:
  clang-tidy/CMakeLists.txt
  clang-tidy/ClangTidyDiagnosticConsumer.cpp
  clang-tidy/ClangTidyDiagnosticConsumer.h
  clang-tidy/ClangTidyOptions.cpp
  clang-tidy/ClangTidyOptions.h
  clang-tidy/tool/ClangTidyMain.cpp
  test/clang-tidy/Inputs/line-filter/
  test/clang-tidy/Inputs/line-filter/header1.h
  test/clang-tidy/Inputs/line-filter/header2.h
  test/clang-tidy/Inputs/line-filter/header3.h
  test/clang-tidy/line-filter.cpp
  unittests/clang-tidy/CMakeLists.txt
  unittests/clang-tidy/ClangTidyOptionsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3873.9694.patch
Type: text/x-patch
Size: 18165 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140522/ad15662e/attachment.bin>


More information about the cfe-commits mailing list