Searched refs:CurrentNestingLevel (Results 1 – 2 of 2) sorted by relevance
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | FunctionCognitiveComplexityCheck.cpp | 217 unsigned short CurrentNestingLevel = 0; member in clang::tidy::readability::__anonb52cb2880111::FunctionASTVisitor 227 ++CurrentNestingLevel; in TraverseStmtWithIncreasedNestingLevel() 229 --CurrentNestingLevel; in TraverseStmtWithIncreasedNestingLevel() 234 ++CurrentNestingLevel; in TraverseDeclWithIncreasedNestingLevel() 236 --CurrentNestingLevel; in TraverseDeclWithIncreasedNestingLevel() 260 CC.account(Node->getIfLoc(), CurrentNestingLevel, Reasons); in TraverseIfStmt() 304 CC.account(Node->getElseLoc(), CurrentNestingLevel, Reasons); in TraverseIfStmt() 327 CC.account(Op->getOperatorLoc(), CurrentNestingLevel, in TraverseBinaryOperator() 444 CC.account(Location, CurrentNestingLevel, Reasons); in TraverseStmt() 481 CC.account(Node->getBeginLoc(), CurrentNestingLevel, in TraverseDecl()
|
D | FunctionSizeCheck.cpp | 74 if (CurrentNestingLevel == Info.NestingThreshold) in TraverseCompoundStmt() 77 ++CurrentNestingLevel; in TraverseCompoundStmt() 79 --CurrentNestingLevel; in TraverseCompoundStmt() 123 unsigned CurrentNestingLevel = 0; member in clang::tidy::readability::__anon32b6d24d0111::FunctionASTVisitor
|