Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/include/clang/AST/
DDeclGroup.h80 bool isSingleDecl() const { return getKind() == SingleDeclKind; } in isSingleDecl() function
84 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()
/external/clang/include/clang/AST/
DDeclGroup.h83 bool isSingleDecl() const { return getKind() == SingleDeclKind; } in isSingleDecl() function
87 assert(isSingleDecl() && "Isn't a declgroup"); in getSingleDecl()
103 if (isSingleDecl()) in begin()
109 if (isSingleDecl()) in end()
116 if (isSingleDecl()) in begin()
122 if (isSingleDecl()) in end()
DStmt.h457 bool isSingleDecl() const { in isSingleDecl() function
458 return DG.isSingleDecl(); in isSingleDecl()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DIsolateDeclarationCheck.cpp21 AST_MATCHER(DeclStmt, isSingleDecl) { return Node.isSingleDecl(); } in AST_MATCHER() argument
28 Finder->addMatcher(declStmt(onlyDeclaresVariables(), unless(isSingleDecl()), in registerMatchers()
DElseAfterReturnCheck.cpp88 if (InitDeclStmt->isSingleDecl()) { in checkInitDeclUsageInElse()
/external/clang/lib/StaticAnalyzer/Core/
DCheckerHelpers.cpp90 assert(PD->isSingleDecl() && "We process decls one by one"); in parseAssignment()
DExprEngineC.cpp506 assert(DS->isSingleDecl()); in VisitDeclStmt()
DPathDiagnostic.cpp817 if (DS->isSingleDecl()) { in genRange()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DCheckerHelpers.cpp94 assert(PD->isSingleDecl() && "We process decls one by one"); in parseAssignment()
DExprEngineC.cpp618 assert(DS->isSingleDecl()); in VisitDeclStmt()
/external/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp226 if (DS->isSingleDecl() && DS->getSingleDecl() == RefD) { in isPlusOneAssignToVar()
364 if (!DeclS->isSingleDecl()) in checkForGCDOrXPC()
DTransAutoreleasePool.cpp171 if (DclS->isSingleDecl()) { in VisitCompoundStmt()
/external/llvm-project/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp230 if (DS->isSingleDecl() && DS->getSingleDecl() == RefD) { in isPlusOneAssignToVar()
368 if (!DeclS->isSingleDecl()) in checkForGCDOrXPC()
DTransAutoreleasePool.cpp170 if (DclS->isSingleDecl()) { in VisitCompoundStmt()
/external/clang/lib/StaticAnalyzer/Checkers/
DVLASizeChecker.cpp82 if (!DS->isSingleDecl()) in checkPreStmt()
DNullabilityChecker.cpp1023 if (DS->isSingleDecl()) { in matchValueExprForBind()
1057 if (!DS || !DS->isSingleDecl()) in isARCNilInitializedLocal()
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DUnnecessaryCopyInitialization.cpp110 Result.Nodes.getNodeAs<DeclStmt>("declStmt")->isSingleDecl() && in check()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DVLASizeChecker.cpp252 if (!DS->isSingleDecl()) in checkPreStmt()
DNullabilityChecker.cpp1037 if (DS->isSingleDecl()) { in matchValueExprForBind()
1071 if (!DS || !DS->isSingleDecl()) in isARCNilInitializedLocal()
/external/llvm-project/polly/lib/External/isl/interface/
Dextract_interface.cc155 if (!D.isSingleDecl()) in HandleTopLevelDecl()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DLoopConvertUtils.cpp801 if (!AliasDecl && S->isSingleDecl() && in VisitDeclStmt()
/external/llvm-project/clang/lib/CodeGen/
DCGCoroutine.cpp354 assert(PM->isSingleDecl()); in addCopy()
/external/clang/include/clang/Analysis/
DCFG.h888 assert(Synthetic->isSingleDecl() && "Can handle single declarations only"); in addSyntheticDeclStmt()
/external/llvm-project/clang/lib/Analysis/
DCFG.cpp2812 if (DS->isSingleDecl()) in VisitDeclStmt()
2839 assert(DS->isSingleDecl() && "Can handle single declarations only."); in VisitDeclSubExpr()
3463 assert(DS->isSingleDecl()); in VisitForStmt()
3793 assert(DS->isSingleDecl()); in VisitWhileStmt()
/external/clang/lib/Sema/
DSemaStmt.cpp87 if (DG.isNull() || !DG.isSingleDecl()) in ActOnForEachDeclStmt()
1781 if (!DS->isSingleDecl()) in ActOnObjCForCollectionStmt()
1975 if (!DS->isSingleDecl()) { in ActOnCXXForRangeStmt()

12