<p dir="ltr">Ping</p>
<div class="gmail_quote">On 15 Oct 2014 16:14, "Alexander Kornienko" <<a href="mailto:alexfh@google.com">alexfh@google.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi djasper,<br>
<br>
This patch allows modules to specify default options for the checks<br>
defined in them. This way a sufficiently configurable check can be registered in<br>
multiple modules with different default options. E.g. the SpacesBeforeComments<br>
option may be set to 1 for the "llvm-namespace-comments" check and to 2 for the<br>
"google-readability-namespace-comment" check without modifying or extending the<br>
check code.<br>
<br>
This patch also registers the google-readability-braces-around-statements check<br>
with suitable defaults.<br>
<br>
<a href="http://reviews.llvm.org/D5798" target="_blank">http://reviews.llvm.org/D5798</a><br>
<br>
Files:<br>
  clang-tidy/ClangTidyModule.cpp<br>
  clang-tidy/ClangTidyModule.h<br>
  clang-tidy/ClangTidyOptions.cpp<br>
  clang-tidy/ClangTidyOptions.h<br>
  clang-tidy/google/GoogleTidyModule.cpp<br>
  clang-tidy/readability/NamespaceCommentCheck.cpp<br>
  test/clang-tidy/google-module.cpp<br>
</blockquote></div>