Disable ClangTidy namespace comments for short blocks.
Namespace comments don't assist readability for blocks that can easily fit on a single screen. Change-Id: I93cbebe8e51400dead794c9eb41cb1eaa86bf756 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/312639 Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: John Stiles <johnstiles@google.com>
This commit is contained in:
parent
bf23d5621f
commit
3215385aeb
@ -19,5 +19,7 @@ Checks: >
|
|||||||
readability-redundant-smartptr-get,
|
readability-redundant-smartptr-get,
|
||||||
readability-static-accessed-through-instance
|
readability-static-accessed-through-instance
|
||||||
CheckOptions:
|
CheckOptions:
|
||||||
|
- key: llvm-namespace-comment.ShortNamespaceLines
|
||||||
|
value: 40
|
||||||
- key: llvm-namespace-comment.SpacesBeforeComments
|
- key: llvm-namespace-comment.SpacesBeforeComments
|
||||||
value: 2
|
value: 2
|
||||||
|
@ -21,7 +21,7 @@ struct PathDY {
|
|||||||
SkPath path;
|
SkPath path;
|
||||||
SkScalar dy;
|
SkScalar dy;
|
||||||
};
|
};
|
||||||
} // namespace
|
}
|
||||||
|
|
||||||
typedef PathDY (*MakePathProc)();
|
typedef PathDY (*MakePathProc)();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user