Home
last modified time | relevance | path

Searched refs:getConditionVariableDeclStmt (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DExprSequence.cpp154 if (TheIfStmt->getConditionVariableDeclStmt() != nullptr) in getSequenceSuccessor()
155 return TheIfStmt->getConditionVariableDeclStmt(); in getSequenceSuccessor()
158 if (S == TheIfStmt->getConditionVariableDeclStmt()) in getSequenceSuccessor()
163 if (TheSwitchStmt->getConditionVariableDeclStmt() != nullptr) in getSequenceSuccessor()
164 return TheSwitchStmt->getConditionVariableDeclStmt(); in getSequenceSuccessor()
167 if (S == TheSwitchStmt->getConditionVariableDeclStmt()) in getSequenceSuccessor()
173 if (S == TheWhileStmt->getConditionVariableDeclStmt()) in getSequenceSuccessor()
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DByteCodeStmtGen.cpp201 if (const DeclStmt *CondDecl = IS->getConditionVariableDeclStmt()) in visitIfStmt()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DBracesAroundStatementsCheck.cpp163 if (const DeclStmt *CondVar = S->getConditionVariableDeclStmt()) in findRParenLoc()
H A DElseAfterReturnCheck.cpp279 const DeclStmt *VDeclStmt = If->getConditionVariableDeclStmt(); in check()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmt.h2071 DeclStmt *getConditionVariableDeclStmt() { in getConditionVariableDeclStmt() function
2077 const DeclStmt *getConditionVariableDeclStmt() const { in getConditionVariableDeclStmt() function
2303 DeclStmt *getConditionVariableDeclStmt() { in getConditionVariableDeclStmt() function
2309 const DeclStmt *getConditionVariableDeclStmt() const { in getConditionVariableDeclStmt() function
2466 DeclStmt *getConditionVariableDeclStmt() { in getConditionVariableDeclStmt() function
2472 const DeclStmt *getConditionVariableDeclStmt() const { in getConditionVariableDeclStmt() function
2594 const DeclStmt *getConditionVariableDeclStmt() const { in getConditionVariableDeclStmt() function
/llvm-project-15.0.7/clang/lib/AST/
H A DStmt.cpp980 auto *DS = getConditionVariableDeclStmt(); in getConditionVariable()
1098 auto *DS = getConditionVariableDeclStmt(); in getConditionVariable()
1159 auto *DS = getConditionVariableDeclStmt(); in getConditionVariable()
H A DStmtPrinter.cpp320 if (const DeclStmt *DS = If->getConditionVariableDeclStmt()) in PrintRawIfStmt()
362 if (const DeclStmt *DS = Node->getConditionVariableDeclStmt()) in VisitSwitchStmt()
372 if (const DeclStmt *DS = Node->getConditionVariableDeclStmt()) in VisitWhileStmt()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DLoopConvertUtils.cpp815 if (cast<ForStmt>(CurrStmtParent)->getConditionVariableDeclStmt() == S) in VisitDeclStmt()
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp818 if (!TraverseStmt(S->getConditionVariableDeclStmt())) in TraverseIfStmt()
1466 ConditionStatement = S->getConditionVariableDeclStmt(); in WalkUpFromIfStmt()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/
H A DRename.cpp319 return CheckDeclStmt(Scope->getConditionVariableDeclStmt(), Name); in lookupSiblingWithinEnclosingScope()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterStmt.cpp141 bool HasVar = S->getConditionVariableDeclStmt() != nullptr; in VisitIfStmt()
170 bool HasVar = S->getConditionVariableDeclStmt() != nullptr; in VisitSwitchStmt()
195 bool HasVar = S->getConditionVariableDeclStmt() != nullptr; in VisitWhileStmt()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCFG.cpp3128 if (const DeclStmt* DS = I->getConditionVariableDeclStmt()) { in VisitIfStmt()
3561 const DeclStmt *DS = F->getConditionVariableDeclStmt(); in VisitForStmt()
3886 const DeclStmt *DS = W->getConditionVariableDeclStmt(); in VisitWhileStmt()
4358 appendStmt(Block, Terminator->getConditionVariableDeclStmt()); in VisitSwitchStmt()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExceptionSpec.cpp1542 if (const Stmt *CondDS = IS->getConditionVariableDeclStmt()) in canThrow()
H A DSemaStmt.cpp2014 if (const Stmt *CondVar = S->getConditionVariableDeclStmt()) in VisitSwitchStmt()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5424 Node.getConditionVariableDeclStmt(); in AST_MATCHER_P()