Home
last modified time | relevance | path

Searched refs:isSingleDecl (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclGroup.h76 bool isSingleDecl() const { return getKind() == SingleDeclKind; } in isSingleDecl() function
80 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()
H A DStmt.h1635 bool isSingleDecl() const { return DG.isSingleDecl(); }
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp96 assert(PD->isSingleDecl() && "We process decls one by one"); in parseAssignment()
H A DExprEngineC.cpp645 assert(DS->isSingleDecl()); in VisitDeclStmt()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DVLASizeChecker.cpp263 if (!DS->isSingleDecl()) in checkPreStmt()
H A DNullabilityChecker.cpp1195 if (DS->isSingleDecl()) { in matchValueExprForBind()
1229 if (!DS || !DS->isSingleDecl()) in isARCNilInitializedLocal()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACC.cpp1223 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()
H A DSemaStmt.cpp90 if (DG.isNull() || !DG.isSingleDecl()) in ActOnForEachDeclStmt()
2461 if (!DS->isSingleDecl()) { in ActOnCXXForRangeStmt()
H A DSemaObjC.cpp48 if (!DS->isSingleDecl()) in ActOnObjCForCollectionStmt()
H A DSemaOpenMP.cpp6709 if (!DG.get().isSingleDecl()) { in ActOnOpenMPDeclareSimdDirective()
7259 if (!DG.get().isSingleDecl()) { in checkOpenMPDeclareVariantFunction()
8177 if (DS->isSingleDecl()) { in checkAndSetInit()
H A DTreeTransform.h2615 if (RangeStmt->isSingleDecl()) { in RebuildCXXForRangeStmt()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp529 assert(PM->isSingleDecl()); in addCopy()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp3022 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()
H A DUnsafeBufferUsage.cpp1560 if (!DS || !DS->isSingleDecl()) in matches()
3603 if (!DS->isSingleDecl()) { in fixVariableWithSpan()
3697 if (!DS->isSingleDecl()) { in fixVariableWithArray()
H A DPathDiagnostic.cpp782 if (DS->isSingleDecl()) { in genRange()
H A DConsumed.cpp836 if (DeclS->isSingleDecl()) in VisitDeclStmt()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DCFG.h1363 assert(Synthetic->isSingleDecl() && "Can handle single declarations only"); in addSyntheticDeclStmt()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtPrinter.cpp265 if (!Node->isSingleDecl() || in VisitDeclStmt()
H A DOpenMPClause.cpp295 assert(DS->isSingleDecl() && "Only single expression must be captured."); in getAddrOfExprAsWritten()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4415 if (Node.isSingleDecl()) { in AST_MATCHER_P()