/external/llvm-project/clang/lib/Tooling/Refactoring/Extract/ |
D | SourceExtraction.cpp | 33 return isSemicolonRequiredAfter(If->getElse() ? If->getElse() in isSemicolonRequiredAfter()
|
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
D | SwapIfBranches.cpp | 64 dyn_cast_or_null<CompoundStmt>(If->getElse()); in REGISTER_TWEAK() 76 If->getElse()->getSourceRange()); in apply()
|
D | ExtractVariable.cpp | 357 return Inner == IS->getThen() || Inner == IS->getElse(); in childExprIsStmt()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | MisleadingIndentationCheck.cpp | 67 CurrentIf->getElse() ? CurrentIf->getElse() : CurrentIf->getThen(); in missingBracesCheck()
|
D | FunctionCognitiveComplexityCheck.cpp | 286 if (!Node->getElse()) in TraverseIfStmt() 289 if (auto *E = dyn_cast<IfStmt>(Node->getElse())) in TraverseIfStmt() 308 return TraverseStmtWithIncreasedNestingLevel(Node->getElse()); in TraverseIfStmt()
|
D | ElseAfterReturnCheck.cpp | 91 return findUsage(If->getElse(), InitDecl->getID()); in checkInitDeclUsageInElse() 98 return findUsageRange(If->getElse(), DeclIdentifiers); in checkInitDeclUsageInElse() 103 return findUsage(If->getElse(), CondVar->getID()); in checkConditionVarUsageInElse()
|
D | DeleteNullPointerCheck.cpp | 61 if (IfWithDelete->getElse()) in check()
|
D | SimplifyBooleanExprCheck.cpp | 303 if (IfRet->getElse() != nullptr) in stmtReturnsBool() 608 const Stmt *ElseStatement = IfStatement->getElse(); in replaceWithElseStatement() 626 StringRef Terminator = isa<CompoundStmt>(If->getElse()) ? ";" : ""; in replaceWithReturnCondition() 681 StringRef Terminator = isa<CompoundStmt>(IfAssign->getElse()) ? ";" : ""; in replaceWithAssignment()
|
D | BracesAroundStatementsCheck.cpp | 160 const Stmt *Else = S->getElse(); in check()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | IdenticalExprChecker.cpp | 109 const Stmt *Stmt2 = I->getElse(); in VisitIfStmt() 149 Else = I2->getElse(); in VisitIfStmt() 423 if (!isIdenticalStmt(Ctx, IStmt1->getElse(), IStmt2->getElse(), in isIdenticalStmt()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | IdenticalExprChecker.cpp | 108 const Stmt *Stmt2 = I->getElse(); in VisitIfStmt() 148 Else = I2->getElse(); in VisitIfStmt() 427 if (!isIdenticalStmt(Ctx, IStmt1->getElse(), IStmt2->getElse(), in isIdenticalStmt()
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | TransEmptyStatementsAndDealloc.cpp | 105 return !S->getElse() || Visit(S->getElse()); in VisitIfStmt()
|
D | Transforms.cpp | 265 mark(S->getElse()); in VisitIfStmt()
|
/external/clang/lib/ARCMigrate/ |
D | TransEmptyStatementsAndDealloc.cpp | 107 return !S->getElse() || Visit(S->getElse()); in VisitIfStmt()
|
/external/clang/lib/Tooling/ |
D | RefactoringCallbacks.cpp | 69 const Stmt *Body = PickTrueBranch ? Node->getThen() : Node->getElse(); in run()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | BranchCloneCheck.cpp | 100 Else = Cur->getElse(); in check()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenPGO.cpp | 228 else if (CS == If->getElse()) in TraverseIfStmt() 650 if (S->getElse()) { in VisitIfStmt() 652 CountMap[S->getElse()] = ElseCount; in VisitIfStmt() 653 Visit(S->getElse()); in VisitIfStmt()
|
D | CGStmt.cpp | 696 const Stmt *Skipped = S.getElse(); in EmitIfStmt() 718 if (S.getElse()) in EmitIfStmt() 727 LH = Stmt::getLikelihood(S.getThen(), S.getElse()); in EmitIfStmt() 740 if (const Stmt *Else = S.getElse()) { in EmitIfStmt()
|
/external/llvm-project/clang/lib/AST/Interp/ |
D | ByteCodeStmtGen.cpp | 202 if (const Stmt *Else = IS->getElse()) { in visitIfStmt()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaAvailability.cpp | 584 cast<IfStmt>(Parent)->getElse() == S; in isBodyLikeChildStmt() 887 return TraverseStmt(If->getThen()) && TraverseStmt(If->getElse()); in TraverseIfStmt() 897 return ShouldContinue && TraverseStmt(If->getElse()); in TraverseIfStmt()
|
/external/clang/lib/CodeGen/ |
D | CodeGenPGO.cpp | 501 if (S->getElse()) { in VisitIfStmt() 503 CountMap[S->getElse()] = ElseCount; in VisitIfStmt() 504 Visit(S->getElse()); in VisitIfStmt()
|
D | CoverageMappingGen.cpp | 856 if (const Stmt *Else = S->getElse()) { in VisitIfStmt() 857 extendRegion(S->getElse()); in VisitIfStmt()
|
/external/llvm-project/clang/lib/Tooling/ |
D | RefactoringCallbacks.cpp | 129 const Stmt *Body = PickTrueBranch ? Node->getThen() : Node->getElse(); in run()
|
/external/clang/lib/AST/ |
D | StmtPrinter.cpp | 191 OS << (If->getElse() ? ' ' : '\n'); in PrintRawIfStmt() 195 if (If->getElse()) Indent(); in PrintRawIfStmt() 198 if (Stmt *Else = If->getElse()) { in PrintRawIfStmt() 210 PrintStmt(If->getElse()); in PrintRawIfStmt()
|
/external/llvm-project/clang/lib/AST/ |
D | StmtPrinter.cpp | 251 OS << (If->getElse() ? " " : NL); in PrintRawIfStmt() 255 if (If->getElse()) Indent(); in PrintRawIfStmt() 258 if (Stmt *Else = If->getElse()) { in PrintRawIfStmt() 270 PrintStmt(If->getElse()); in PrintRawIfStmt()
|