Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DASTLambda.h30 if (!LambdaClass || !LambdaClass->isLambda()) return false; in isLambdaCallOperator()
49 return C ? C->getParent()->isLambda() : false; in isLambdaConversionOperator()
DDeclCXX.h1012 bool isLambda() const { in isLambda() function
1038 assert(isLambda()); in getLambdaCaptureDefault()
1064 return isLambda() ? getLambdaData().Captures : nullptr; in captures_begin()
1067 return isLambda() ? captures_begin() + getLambdaData().NumCaptures in captures_end()
1615 assert(isLambda() && "Not a lambda closure type!"); in getLambdaManglingNumber()
1629 assert(isLambda() && "Not a lambda closure type!"); in getLambdaContextDecl()
1673 return isLambda() && getLambdaData().Dependent; in isDependentLambda()
/external/clang/lib/AST/
DMicrosoftMangle.cpp47 if (RD->isLambda()) in getEffectiveDeclContext()
78 static bool isLambda(const NamedDecl *ND) { in isLambda() function
83 return Record->isLambda(); in isLambda()
141 if (isLambda(ND)) in getNextDiscriminator()
169 assert(RD->isLambda() && "RD must be a lambda!"); in getLambdaId()
725 if (Record->isLambda()) { in mangleUnqualifiedName()
804 if (isLambda(ND)) in mangleNestedName()
DDeclCXX.cpp979 if (!isLambda()) return false; in isGenericLambda()
984 if (!isLambda()) return nullptr; in getLambdaCallOperator()
1001 if (!isLambda()) return nullptr; in getLambdaStaticInvoker()
1035 if (!isLambda()) return nullptr; in getGenericLambdaTemplateParameterList()
1567 if (P->isLambda()) { in isLambdaStaticInvoker()
1885 return isImplicit() && getParent()->isLambda() && in isLambdaToBlockPointerConversion()
DItaniumMangle.cpp55 if (RD->isLambda()) in getEffectiveDeclContext()
106 static bool isLambda(const NamedDecl *ND) { in isLambda() function
111 return Record->isLambda(); in isLambda()
165 if (isLambda(ND)) in getNextDiscriminator()
577 if (isLocalContainerContext(DC) && ND->hasLinkage() && !isLambda(ND)) in mangleName()
1152 if (Record->isLambda() && Record->getLambdaManglingNumber()) { in mangleUnqualifiedName()
1323 if (CXXRD->isLambda()) { in mangleLocalName()
DDeclBase.cpp733 MD->getParent()->isLambda()) in getNonClosureContext()
DTypePrinter.cpp908 if (isa<CXXRecordDecl>(D) && cast<CXXRecordDecl>(D)->isLambda()) { in printTag()
DDecl.cpp1185 while (Record && Record->isLambda()) { in getOutermostEnclosingLambda()
1219 if (Record->isLambda()) { in computeLVForDecl()
DExpr.cpp604 cast<CXXMethodDecl>(FD)->getParent()->isLambda()) || in ComputeName()
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTest.cpp580 if (record->isLambda() && !record->isImplicit()) in VisitCXXRecordDecl()
/external/clang/lib/Sema/
DSema.cpp862 cast<CXXRecordDecl>(DC->getParent())->isLambda()) { in getFunctionLevelDeclContext()
DAnalysisBasedWarnings.cpp1876 cast<CXXMethodDecl>(D)->getParent()->isLambda()) in IssueWarnings()
DSemaTemplateInstantiateDecl.cpp4411 (isa<CXXRecordDecl>(D) && cast<CXXRecordDecl>(D)->isLambda())) { in FindInstantiatedDecl()
DSemaOverload.cpp3293 if (Conv1->getParent()->isLambda() && Conv2->getParent()->isLambda()) { in compareConversionFunctions()
DSemaExprCXX.cpp5612 if (Method->getParent()->isLambda() && in BuildCXXMemberCallExpr()
DSemaDeclCXX.cpp4500 !Record->isLambda()) { in CheckCompletedCXXClass()
5391 if (RD->isLambda() && in ShouldDeleteSpecialMember()
DSemaExpr.cpp11468 MethodDecl->getParent()->isLambda()) { in MarkFunctionReferenced()
11586 cast<CXXRecordDecl>(VarDC->getParent())->isLambda()) { in diagnoseUncapturableValueReference()
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp654 if (MD->getParent()->isLambda() && in StartFunction()
DCGExpr.cpp2511 assert(cast<CXXMethodDecl>(CurCodeDecl)->getParent()->isLambda()); in EmitLValueForLambdaField()
DCGDebugInfo.cpp941 if (CXXDecl && CXXDecl->isLambda()) in CollectRecordFields()