Home
last modified time | relevance | path

Searched refs:isLambda (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h780 (!isLambda() || lambdaIsDefaultConstructibleAndAssignable())) || in needsImplicitDefaultConstructor()
993 (!isLambda() || lambdaIsDefaultConstructibleAndAssignable()); in needsImplicitMoveAssignment()
1022 bool isLambda() const { in isLambda() function
1064 assert(isLambda()); in getLambdaCaptureDefault()
1069 if (!isLambda()) in isCapturelessLambda()
1106 if (!isLambda()) return nullptr; in captures_begin()
1112 return isLambda() ? captures_begin() + getLambdaData().NumCaptures in captures_end()
1119 assert(isLambda() && I < capture_size() && "invalid index for capture"); in getCapture()
1775 assert(isLambda() && "Not a lambda closure type!"); in getLambdaManglingNumber()
1782 assert(isLambda() && "Not a lambda closure type!"); in hasKnownLambdaInternalLinkage()
[all …]
H A DRecursiveASTVisitor.h1524 return Cls->isLambda();
2248 if (RD->isLambda() &&
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DNoUncountedMembersChecker.cpp95 if (RD->isLambda()) in shouldSkipDecl()
H A DRefCntblBaseVirtualDtorChecker.cpp294 if (RD->isLambda()) in shouldSkipDecl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp732 assert(isLambda() && "not a lambda"); in lambdaIsDefaultConstructibleAndAssignable()
1450 return isAggregate() || (isLambda() && LangOpts.CPlusPlus17) || in isLiteral()
1604 if (!isLambda()) return false; in isGenericLambda()
1617 if (!RD.isLambda()) return nullptr; in getLambdaCallOperatorHelper()
1653 assert(RD.isLambda() && "Must be a lambda"); in getLambdaStaticInvokers()
1666 if (!isLambda()) in getLambdaStaticInvoker()
1725 assert(isLambda() && "Not a lambda closure type!"); in getLambdaContextDecl()
1731 assert(isLambda() && "Not a lambda closure type!"); in setLambdaNumbering()
1742 assert(isLambda() && "Not a lambda closure type!"); in getDeviceLambdaManglingNumber()
2052 if (isLambda() || hasUserDeclaredConstructor() || in isInterfaceLike()
[all …]
H A DItaniumCXXABI.cpp145 assert(Lambda->isLambda()); in getManglingNumber()
H A DASTStructuralEquivalence.cpp1550 assert(D1->isLambda() && D2->isLambda() && in IsStructurallyEquivalentLambdas()
1704 if (D1CXX->isLambda() != D2CXX->isLambda()) in IsStructurallyEquivalent()
1706 if (D1CXX->isLambda()) { in IsStructurallyEquivalent()
H A DMicrosoftMangle.cpp91 if (RD->isLambda()) in getLambdaDefaultArgumentDeclContext()
224 if (RD->isLambda()) { in getNextDiscriminator()
253 assert(Lambda->isLambda() && "RD must be a lambda!"); in getLambdaString()
281 assert(RD->isLambda() && "RD must be a lambda!"); in getLambdaId()
291 assert(RD->isLambda() && "RD must be a lambda!"); in getLambdaIdForDebugInfo()
1199 if (Record->isLambda()) { in mangleUnqualifiedName()
2788 if (MD->getParent()->isLambda()) in mangleFunctionType()
H A DItaniumMangle.cpp62 static bool isLambda(const NamedDecl *ND) { in isLambda() function
67 return Record->isLambda(); in isLambda()
141 if (isLambda(ND)) in getNextDiscriminator()
174 assert(Lambda->isLambda() && "RD must be a lambda!"); in getLambdaString()
662 if (RD->isLambda()) in getEffectiveDeclContext()
1064 bool IsLambda = isLambda(ND); in mangleNameWithAbiTags()
1632 if (Record->isLambda() && in mangleUnqualifiedName()
1890 if (CXXRD && CXXRD->isLambda()) { in mangleLocalName()
2292 if (RD->isLambda()) in getClosurePrefix()
H A DDeclBase.cpp408 if (CRD->isLambda()) in isInLocalScopeForInstantiation()
1223 MD->getParent()->isLambda()) in getNonClosureContext()
H A DDecl.cpp1509 if (Record->isLambda()) { in computeLVForDecl()
4664 assert((getParent()->isLambda() || getParent()->isCapturedRecord()) && in setCapturedVLAType()
5028 bool RecordDecl::isLambda() const { in isLambda() function in RecordDecl
5030 return RD->isLambda(); in isLambda()
H A DASTImporter.cpp2229 (To->isLambda() && shouldForceImportDeclContext(Kind))) { in ImportDefinition()
2230 if (To->isLambda()) { in ImportDefinition()
2246 if (To->isLambda()) in ImportDefinition()
3059 if (!DependentFriend && !DC->isFunctionOrMethod() && !D->isLambda()) { in VisitRecordDecl()
3140 if (DCXX->isLambda()) { in VisitRecordDecl()
3676 return cast<CXXRecordDecl>(MD->getDeclContext())->isLambda(); in hasReturnTypeDeclaredInside()
H A DJSONNodeDumper.cpp517 FIELD1(isLambda); in createCXXRecordDefinitionData()
H A DTextNodeDumper.cpp2438 FLAG(isLambda, lambda); in VisitCXXRecordDecl()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp176 assert(MD && MD->getParent()->isLambda() && in isCapturedByReference()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp165 if (!parent->isLambda()) in getSelfDecl()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp454 REGISTER_MATCHER(isLambda); in RegistryMaps()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp495 if (R->isLambda()) { in printEntryName()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DDataflowEnvironment.cpp520 if (Parent->isLambda()) { in initialize()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp414 if (Rec->isLambda()) { in HandleRecordDecl()
3518 (isa<CXXRecordDecl>(Member) && cast<CXXRecordDecl>(Member)->isLambda())) in InstantiateClass()
4096 Record->isLambda()) in InstantiateClassMembers()
H A DSemaTemplateInstantiateDecl.cpp1982 if (D->isLambda()) in VisitCXXRecordDecl()
2537 if (cast<CXXRecordDecl>(D->getParent())->isLambda() && in VisitCXXMethodDecl()
5090 if (!PatternRec->isLambda()) in InstantiateFunctionDefinition()
6110 (isa<CXXRecordDecl>(D) && cast<CXXRecordDecl>(D)->isLambda() && in FindInstantiatedDecl()
H A DSemaAccess.cpp316 !Derived->isLambda()) in IsDerivedFromInclusive()
H A DAnalysisBasedWarnings.cpp2677 cast<CXXMethodDecl>(D)->getParent()->isLambda()) in IssueWarnings()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3457 AST_MATCHER(CXXRecordDecl, isLambda) { in AST_MATCHER() argument
3458 return Node.isLambda(); in AST_MATCHER()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp342 if (CXXRD->isLambda()) in getClassName()
1882 if (CXXDecl && CXXDecl->isLambda()) in CollectRecordFields()
2728 if (RD->isLambda() || RD->isAggregate() || in canUseCtorHoming()

12