| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclGroup.h | 80 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()
|
| H A D | Stmt.h | 1312 bool isSingleDecl() const { return DG.isSingleDecl(); } in isSingleDecl() function
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | IsolateDeclarationCheck.cpp | 21 AST_MATCHER(DeclStmt, isSingleDecl) { return Node.isSingleDecl(); } in AST_MATCHER() argument 28 Finder->addMatcher(declStmt(onlyDeclaresVariables(), unless(isSingleDecl()), in registerMatchers()
|
| H A D | ElseAfterReturnCheck.cpp | 88 if (InitDeclStmt->isSingleDecl()) { in checkInitDeclUsageInElse()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | SmartPtrArrayMismatchCheck.cpp | 31 return PDecl->isSingleDecl(); in isInSingleDeclStmt()
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | TransRetainReleaseDealloc.cpp | 230 if (DS->isSingleDecl() && DS->getSingleDecl() == RefD) { in isPlusOneAssignToVar() 368 if (!DeclS->isSingleDecl()) in checkForGCDOrXPC()
|
| H A D | TransAutoreleasePool.cpp | 170 if (DclS->isSingleDecl()) { in VisitCompoundStmt()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | CheckerHelpers.cpp | 94 assert(PD->isSingleDecl() && "We process decls one by one"); in parseAssignment()
|
| H A D | ExprEngineC.cpp | 613 assert(DS->isSingleDecl()); in VisitDeclStmt()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | ConstCorrectnessCheck.cpp | 173 if (VarDeclStmt == nullptr || !VarDeclStmt->isSingleDecl()) in check()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | VLASizeChecker.cpp | 252 if (!DS->isSingleDecl()) in checkPreStmt()
|
| H A D | NullabilityChecker.cpp | 1037 if (DS->isSingleDecl()) { in matchValueExprForBind() 1071 if (!DS || !DS->isSingleDecl()) in isARCNilInitializedLocal()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | UnnecessaryCopyInitialization.cpp | 278 bool IssueFix = Stmt->isSingleDecl() && !NewVar->getLocation().isMacroID(); in check()
|
| /llvm-project-15.0.7/polly/lib/External/isl/interface/ |
| H A D | extract_interface.cc | 156 if (!D.isSingleDecl()) in HandleTopLevelDecl()
|
| /llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/ |
| H A D | DataflowEnvironment.cpp | 140 if (DS->isSingleDecl()) { in initGlobalVars()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | LoopConvertUtils.cpp | 807 if (!AliasDecl && S->isSingleDecl() && in VisitDeclStmt()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseTemplate.cpp | 206 if (!D || !D.get().isSingleDecl()) in ParseSingleDeclarationAfterTemplate() 217 if (!usingDeclPtr || !usingDeclPtr.get().isSingleDecl()) in ParseSingleDeclarationAfterTemplate()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGCoroutine.cpp | 354 assert(PM->isSingleDecl()); in addCopy()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | CFG.cpp | 2849 if (DS->isSingleDecl()) in VisitDeclStmt() 2876 assert(DS->isSingleDecl() && "Can handle single declarations only."); in VisitDeclSubExpr() 3562 assert(DS->isSingleDecl()); in VisitForStmt() 3887 assert(DS->isSingleDecl()); in VisitWhileStmt()
|
| H A D | Consumed.cpp | 843 if (DeclS->isSingleDecl()) in VisitDeclStmt()
|
| H A D | PathDiagnostic.cpp | 785 if (DS->isSingleDecl()) { in genRange()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 88 if (DG.isNull() || !DG.isSingleDecl()) in ActOnForEachDeclStmt() 2293 if (!DS->isSingleDecl()) in ActOnObjCForCollectionStmt() 2493 if (!DS->isSingleDecl()) { in ActOnCXXForRangeStmt()
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/ |
| H A D | CFG.h | 1365 assert(Synthetic->isSingleDecl() && "Can handle single declarations only"); in addSyntheticDeclStmt()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 4225 if (Node.isSingleDecl()) { in AST_MATCHER_P()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | OpenMPClause.cpp | 282 assert(DS->isSingleDecl() && "Only single expression must be captured."); in getAddrOfExprAsWritten()
|