[PATCH] Implemented clang-tidy configurability via .clang-tidy files.

Alexander Kornienko alexfh at google.com
Thu Sep 4 04:24:30 PDT 2014


Hi djasper, klimek, bkramer,

This adds a support for the .clang-tidy file reading using
FileOptionsProvider, -dump-config option, and changes tests to not depend on
default checks set.

http://reviews.llvm.org/D5186

Files:
  clang-tidy/ClangTidy.cpp
  clang-tidy/ClangTidy.h
  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/config-files/
  test/clang-tidy/Inputs/config-files/.clang-tidy
  test/clang-tidy/Inputs/config-files/1/
  test/clang-tidy/Inputs/config-files/1/.clang-tidy
  test/clang-tidy/Inputs/config-files/2/
  test/clang-tidy/config-files.cpp
  test/clang-tidy/diagnostic.cpp
  test/clang-tidy/validate-check-names.cpp
  unittests/clang-tidy/ClangTidyOptionsTest.cpp
  unittests/clang-tidy/ClangTidyTest.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5186.13245.patch
Type: text/x-patch
Size: 24788 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140904/534451ba/attachment.bin>


More information about the cfe-commits mailing list