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

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


Removed debug output, added a comment for LineRange, changed the interface of
ClangTidyDiagnosticConsumer::relatesToUserCodeAndPassesLineFilter (and renamed it).

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.9699.patch
Type: text/x-patch
Size: 18018 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140522/0b661879/attachment.bin>


More information about the cfe-commits mailing list