[PATCH] Implemented clang-tidy-check-specific options.
Alexander Kornienko
alexfh at google.com
Wed Sep 10 08:10:46 PDT 2014
Hi klimek, bkramer,
Each check can implement readOptions and storeOptions methods to read
and store custom options. Each check's options are stored in a local namespace
to avoid name collisions and provide some sort of context to the user.
http://reviews.llvm.org/D5296
Files:
clang-tidy/ClangTidy.cpp
clang-tidy/ClangTidy.h
clang-tidy/ClangTidyOptions.cpp
clang-tidy/ClangTidyOptions.h
clang-tidy/llvm/NamespaceCommentCheck.cpp
clang-tidy/llvm/NamespaceCommentCheck.h
clang-tidy/tool/ClangTidyMain.cpp
unittests/clang-tidy/ClangTidyDiagnosticConsumerTest.cpp
unittests/clang-tidy/ClangTidyTest.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5296.13545.patch
Type: text/x-patch
Size: 16142 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140910/708e7c8a/attachment.bin>
More information about the cfe-commits
mailing list