Searched refs:isSingleDecl (Results 1 – 20 of 20) sorted by relevance
76 bool isSingleDecl() const { return getKind() == SingleDeclKind; } in isSingleDecl() function80 assert(isSingleDecl() && "Isn't a single decl"); in getSingleDecl()96 if (isSingleDecl()) in begin()102 if (isSingleDecl()) in end()109 if (isSingleDecl()) in begin()115 if (isSingleDecl()) in end()
1635 bool isSingleDecl() const { return DG.isSingleDecl(); }
96 assert(PD->isSingleDecl() && "We process decls one by one"); in parseAssignment()
645 assert(DS->isSingleDecl()); in VisitDeclStmt()
263 if (!DS->isSingleDecl()) in checkPreStmt()
1195 if (DS->isSingleDecl()) { in matchValueExprForBind()1229 if (!DS || !DS->isSingleDecl()) in isARCNilInitializedLocal()
1223 if (!DS->isSingleDecl()) in checkForInit()1525 DS->isSingleDecl() ? DS->getSingleDecl() : nullptr)) in checkFor()1529 DS->isSingleDecl() ? DS->getSingleDecl() : nullptr)) in checkFor()2434 if (NextDecl && NextDecl.get().isSingleDecl()) in ActOnEndRoutineDeclDirective()2457 if (DeclStmt *DS = dyn_cast<DeclStmt>(NextStmt); DS && DS->isSingleDecl()) in ActOnEndRoutineStmtDirective()
90 if (DG.isNull() || !DG.isSingleDecl()) in ActOnForEachDeclStmt()2461 if (!DS->isSingleDecl()) { in ActOnCXXForRangeStmt()
48 if (!DS->isSingleDecl()) in ActOnObjCForCollectionStmt()
6709 if (!DG.get().isSingleDecl()) { in ActOnOpenMPDeclareSimdDirective()7259 if (!DG.get().isSingleDecl()) { in checkOpenMPDeclareVariantFunction()8177 if (DS->isSingleDecl()) { in checkAndSetInit()
2615 if (RangeStmt->isSingleDecl()) { in RebuildCXXForRangeStmt()
529 assert(PM->isSingleDecl()); in addCopy()
3022 if (DS->isSingleDecl()) in VisitDeclStmt()3049 assert(DS->isSingleDecl() && "Can handle single declarations only."); in VisitDeclSubExpr()3741 assert(DS->isSingleDecl()); in VisitForStmt()4066 assert(DS->isSingleDecl()); in VisitWhileStmt()
1560 if (!DS || !DS->isSingleDecl()) in matches()3603 if (!DS->isSingleDecl()) { in fixVariableWithSpan()3697 if (!DS->isSingleDecl()) { in fixVariableWithArray()
782 if (DS->isSingleDecl()) { in genRange()
836 if (DeclS->isSingleDecl()) in VisitDeclStmt()
1363 assert(Synthetic->isSingleDecl() && "Can handle single declarations only"); in addSyntheticDeclStmt()
265 if (!Node->isSingleDecl() || in VisitDeclStmt()
295 assert(DS->isSingleDecl() && "Only single expression must be captured."); in getAddrOfExprAsWritten()
4415 if (Node.isSingleDecl()) { in AST_MATCHER_P()