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.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Hm.. Should we just move this to misc-? Doesn't seem to be specific to either Google or LLVM style..
clang-tidy/llvm/NamespaceCommentCheck.cpp | ||
---|---|---|
0 | Maybe this should contain a string NameSpaceCommentPrefix so that we can configure more and e.g. also support: namespace abc { } // abc |
clang-tidy/llvm/NamespaceCommentCheck.cpp | ||
---|---|---|
0 | It could make sense once we have a style that can't be supported using existing approach. |
Comment Actions
Looks good, I think, although I find the display of added/deleted files a bit confusing.
Maybe this should contain a string NameSpaceCommentPrefix so that we can configure more and e.g. also support: