[PATCH] Add NamespaceCommentCheck to the Google module.

Alexander Kornienko alexfh at google.com
Fri Sep 19 05:56:21 PDT 2014


Hi djasper,

This uses a bit hacky way to set the defaults for the spaces before
comments, but it's also one of the simplest ways. Fixed a bug with how the
SpacesBeforeComments option was used.

http://reviews.llvm.org/D5410

Files:
  clang-tidy/google/GoogleTidyModule.cpp
  clang-tidy/llvm/NamespaceCommentCheck.cpp
  test/clang-tidy/google-readability-namespace-comments.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5410.13863.patch
Type: text/x-patch
Size: 3740 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140919/5bdc4812/attachment.bin>


More information about the cfe-commits mailing list