forked from OSchip/llvm-project
1efc425551
Summary: This patch allows modules to specify default options for the checks defined in them. This way a sufficiently configurable check can be registered in multiple modules with different default options. E.g. the SpacesBeforeComments option may be set to 1 for the "llvm-namespace-comments" check and to 2 for the "google-readability-namespace-comment" check without modifying or extending the check code. This patch also registers the google-readability-braces-around-statements check with suitable defaults. Reviewers: djasper Reviewed By: djasper Subscribers: curdeius, cfe-commits Differential Revision: http://reviews.llvm.org/D5798 llvm-svn: 219923 |
||
---|---|---|
.. | ||
AvoidCStyleCastsCheck.cpp | ||
AvoidCStyleCastsCheck.h | ||
CMakeLists.txt | ||
ExplicitConstructorCheck.cpp | ||
ExplicitConstructorCheck.h | ||
ExplicitMakePairCheck.cpp | ||
ExplicitMakePairCheck.h | ||
GoogleTidyModule.cpp | ||
IntegerTypesCheck.cpp | ||
IntegerTypesCheck.h | ||
Makefile | ||
MemsetZeroLengthCheck.cpp | ||
MemsetZeroLengthCheck.h | ||
NamedParameterCheck.cpp | ||
NamedParameterCheck.h | ||
OverloadedUnaryAndCheck.cpp | ||
OverloadedUnaryAndCheck.h | ||
StringReferenceMemberCheck.cpp | ||
StringReferenceMemberCheck.h | ||
TodoCommentCheck.cpp | ||
TodoCommentCheck.h | ||
UnnamedNamespaceInHeaderCheck.cpp | ||
UnnamedNamespaceInHeaderCheck.h | ||
UsingNamespaceDirectiveCheck.cpp | ||
UsingNamespaceDirectiveCheck.h |