Home
last modified time | relevance | path

Searched refs:ParentS (Results 1 – 2 of 2) sorted by relevance

/openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
DErrnoChecker.cpp78 const auto *ParentS = Parents[0].get<Stmt>(); in isInCondition() local
79 if (!ParentS || isa<CallExpr>(ParentS)) in isInCondition()
81 switch (ParentS->getStmtClass()) { in isInCondition()
83 CondFound = (S == cast<IfStmt>(ParentS)->getCond()); in isInCondition()
86 CondFound = (S == cast<ForStmt>(ParentS)->getCond()); in isInCondition()
89 CondFound = (S == cast<DoStmt>(ParentS)->getCond()); in isInCondition()
92 CondFound = (S == cast<WhileStmt>(ParentS)->getCond()); in isInCondition()
95 CondFound = (S == cast<SwitchStmt>(ParentS)->getCond()); in isInCondition()
98 CondFound = (S == cast<ConditionalOperator>(ParentS)->getCond()); in isInCondition()
101 CondFound = (S == cast<BinaryConditionalOperator>(ParentS)->getCommon()); in isInCondition()
[all …]
/openbsd/src/gnu/llvm/clang/lib/Sema/
DSemaOpenMP.cpp11236 Scope *ParentS = S->getParent(); in ActOnOpenMPScanDirective() local
11237 if (!ParentS || ParentS->getParent() != ParentS->getBreakParent() || in ActOnOpenMPScanDirective()
11238 !ParentS->getBreakParent()->isOpenMPLoopScope()) in ActOnOpenMPScanDirective()