Home
last modified time | relevance | path

Searched refs:hasVarStorage (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmt.h1980 return InitOffset + hasInitStorage() + hasVarStorage(); in condOffset()
2010 bool hasVarStorage() const { return IfStmtBits.HasVar; } in hasVarStorage() function
2072 return hasVarStorage() ? static_cast<DeclStmt *>( in getConditionVariableDeclStmt()
2078 return hasVarStorage() ? static_cast<DeclStmt *>( in getConditionVariableDeclStmt()
2218 return InitOffset + hasInitStorage() + hasVarStorage(); in condOffset()
2304 return hasVarStorage() ? static_cast<DeclStmt *>( in getConditionVariableDeclStmt()
2310 return hasVarStorage() ? static_cast<DeclStmt *>( in getConditionVariableDeclStmt()
2402 return NumMandatoryStmtPtr + hasVarStorage(); in numTrailingObjects()
2424 bool hasVarStorage() const { return WhileStmtBits.HasVar; } in hasVarStorage() function
2467 return hasVarStorage() ? static_cast<DeclStmt *>( in getConditionVariableDeclStmt()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DSimplifyBooleanExprCheck.cpp358 if (If->hasInitStorage() || If->hasVarStorage()) in VisitIfStmt()
470 if (!If->hasInitStorage() && !If->hasVarStorage()) { in VisitCompoundStmt()
494 !SubIf->hasVarStorage()) { in VisitCompoundStmt()
/llvm-project-15.0.7/clang/lib/AST/
H A DStmt.cpp987 assert(hasVarStorage() && in setConditionVariable()
1105 assert(hasVarStorage() && in setConditionVariable()
1166 assert(hasVarStorage() && in setConditionVariable()
H A DJSONNodeDumper.cpp1496 attributeOnlyIfTrue("hasVar", IS->hasVarStorage()); in VisitIfStmt()
1505 attributeOnlyIfTrue("hasVar", SS->hasVarStorage()); in VisitSwitchStmt()
1522 attributeOnlyIfTrue("hasVar", WS->hasVarStorage()); in VisitWhileStmt()
H A DTextNodeDumper.cpp954 if (Node->hasVarStorage()) in VisitIfStmt()
971 if (Node->hasVarStorage()) in VisitSwitchStmt()
976 if (Node->hasVarStorage()) in VisitWhileStmt()
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp817 if (S->hasVarStorage()) { in TraverseIfStmt()
1465 if (S->hasVarStorage()) in WalkUpFromIfStmt()