Searched refs:isSingleDecl (Results 1 – 20 of 20) sorted by relevance
80 bool isSingleDecl() const { return getKind() == SingleDeclKind; } in isSingleDecl() function84 assert(isSingleDecl() && "Isn't a single decl"); in getSingleDecl()100 if (isSingleDecl()) in begin()106 if (isSingleDecl()) in end()113 if (isSingleDecl()) in begin()119 if (isSingleDecl()) in end()
1510 bool isSingleDecl() const { return DG.isSingleDecl(); } in isSingleDecl() function
230 if (DS->isSingleDecl() && DS->getSingleDecl() == RefD) { in isPlusOneAssignToVar()368 if (!DeclS->isSingleDecl()) in checkForGCDOrXPC()
170 if (DclS->isSingleDecl()) { in VisitCompoundStmt()
96 assert(PD->isSingleDecl() && "We process decls one by one"); in parseAssignment()
607 assert(DS->isSingleDecl()); in VisitDeclStmt()
265 if (!DS->isSingleDecl()) in checkPreStmt()
1195 if (DS->isSingleDecl()) { in matchValueExprForBind()1229 if (!DS || !DS->isSingleDecl()) in isARCNilInitializedLocal()
528 assert(PM->isSingleDecl()); in addCopy()
2913 if (DS->isSingleDecl()) in VisitDeclStmt()2940 assert(DS->isSingleDecl() && "Can handle single declarations only."); in VisitDeclSubExpr()3629 assert(DS->isSingleDecl()); in VisitForStmt()3954 assert(DS->isSingleDecl()); in VisitWhileStmt()
787 if (DS->isSingleDecl()) { in genRange()
843 if (DeclS->isSingleDecl()) in VisitDeclStmt()
2642 if (!DS->isSingleDecl()) { in fixVariableWithSpan()2736 if (!DS->isSingleDecl()) { in fixVariableWithArray()
1355 assert(Synthetic->isSingleDecl() && "Can handle single declarations only"); in addSyntheticDeclStmt()
94 if (DG.isNull() || !DG.isSingleDecl()) in ActOnForEachDeclStmt()2354 if (!DS->isSingleDecl()) { in ActOnCXXForRangeStmt()
47 if (!DS->isSingleDecl()) in ActOnObjCForCollectionStmt()
6783 if (!DG.get().isSingleDecl()) { in ActOnOpenMPDeclareSimdDirective()7310 if (!DG.get().isSingleDecl()) { in checkOpenMPDeclareVariantFunction()8163 if (DS->isSingleDecl()) { in checkAndSetInit()
2582 if (RangeStmt->isSingleDecl()) { in RebuildCXXForRangeStmt()
294 assert(DS->isSingleDecl() && "Only single expression must be captured."); in getAddrOfExprAsWritten()
4322 if (Node.isSingleDecl()) { in AST_MATCHER_P()