Fix nits.

This commit is contained in:
Alexander Kornienko 2021-04-12 18:28:01 +02:00
parent 8a944d82cd
commit 8883cb3e40
2 changed files with 2 additions and 2 deletions

View File

@ -227,7 +227,7 @@ class FunctionASTVisitor final
public:
explicit FunctionASTVisitor(const bool IgnoreMacros)
: IgnoreMacros(IgnoreMacros){};
: IgnoreMacros(IgnoreMacros) {}
bool traverseStmtWithIncreasedNestingLevel(Stmt *Node) {
++CurrentNestingLevel;

View File

@ -28,7 +28,7 @@ Options
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.
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`.
Building blocks