H A D | FunctionCognitiveComplexityCheck.cpp | 147 void account(SourceLocation Loc, unsigned short Nesting, Criteria C); 190 void CognitiveComplexity::account(SourceLocation Loc, unsigned short Nesting, in account() function in clang::tidy::readability::__anoncf7864440111::CognitiveComplexity 258 CC.account(Node->getIfLoc(), CurrentNestingLevel, Reasons); in TraverseIfStmt() 301 CC.account(Node->getElseLoc(), CurrentNestingLevel, Reasons); in TraverseIfStmt() 324 CC.account(Op->getOperatorLoc(), CurrentNestingLevel, in TraverseBinaryOperator() 442 // If we have found any reasons, let's account it. in TraverseStmt() 444 CC.account(Location, CurrentNestingLevel, Reasons); in TraverseStmt() 481 CC.account(Node->getBeginLoc(), CurrentNestingLevel, in TraverseDecl()
|