forked from OSchip/llvm-project
Fix nits.
This commit is contained in:
parent
8a944d82cd
commit
8883cb3e40
|
@ -227,7 +227,7 @@ class FunctionASTVisitor final
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit FunctionASTVisitor(const bool IgnoreMacros)
|
explicit FunctionASTVisitor(const bool IgnoreMacros)
|
||||||
: IgnoreMacros(IgnoreMacros){};
|
: IgnoreMacros(IgnoreMacros) {}
|
||||||
|
|
||||||
bool traverseStmtWithIncreasedNestingLevel(Stmt *Node) {
|
bool traverseStmtWithIncreasedNestingLevel(Stmt *Node) {
|
||||||
++CurrentNestingLevel;
|
++CurrentNestingLevel;
|
||||||
|
|
|
@ -28,7 +28,7 @@ Options
|
||||||
|
|
||||||
If set to `true`, the check will ignore code inside macros. Note, that also
|
If set to `true`, the check will ignore code inside macros. Note, that also
|
||||||
any macro arguments are ignored, even if they should count to the complexity.
|
any macro arguments are ignored, even if they should count to the complexity.
|
||||||
As this might change in the future, this option isn't guarantueed to be
|
As this might change in the future, this option isn't guaranteed to be
|
||||||
forward-compatible. Default is `false`.
|
forward-compatible. Default is `false`.
|
||||||
|
|
||||||
Building blocks
|
Building blocks
|
||||||
|
|
Loading…
Reference in New Issue