Home
last modified time | relevance | path

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

12345

/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.h838 !isLambda(); in needsImplicitDefaultConstructor()
1027 bool isLambda() const { in isLambda() function
1053 assert(isLambda()); in getLambdaCaptureDefault()
1079 return isLambda() ? getLambdaData().Captures : nullptr; in captures_begin()
1082 return isLambda() ? captures_begin() + getLambdaData().NumCaptures in captures_end()
1655 assert(isLambda() && "Not a lambda closure type!"); in getLambdaManglingNumber()
1669 assert(isLambda() && "Not a lambda closure type!"); in getLambdaContextDecl()
1713 return isLambda() && getLambdaData().Dependent; in isDependentLambda()
/external/llvm-project/clang/include/clang/AST/
DASTLambda.h29 if (!LambdaClass || !LambdaClass->isLambda()) return false; in isLambdaCallOperator()
48 return C ? C->getParent()->isLambda() : false; in isLambdaConversionOperator()
DDeclCXX.h749 (!isLambda() || lambdaIsDefaultConstructibleAndAssignable()); in needsImplicitDefaultConstructor()
957 (!isLambda() || lambdaIsDefaultConstructibleAndAssignable()); in needsImplicitMoveAssignment()
986 bool isLambda() const { in isLambda() function
1028 assert(isLambda()); in getLambdaCaptureDefault()
1058 return isLambda() ? getLambdaData().Captures : nullptr; in captures_begin()
1062 return isLambda() ? captures_begin() + getLambdaData().NumCaptures in captures_end()
1397 (!isLambda() || LangOpts.CPlusPlus17) && in isLiteral()
1399 (isAggregate() || isLambda() || in isLiteral()
1701 assert(isLambda() && "Not a lambda closure type!"); in getLambdaManglingNumber()
1708 assert(isLambda() && "Not a lambda closure type!"); in hasKnownLambdaInternalLinkage()
[all …]
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DExpandAutoType.cpp78 return RD->isLambda(); in isDeducedAsLambda()
114 dyn_cast<RecordType>(*DeducedType)->getDecl()->isLambda()) { in apply()
/external/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/
DClass.cpp21 if (record->isLambda() && !record->isImplicit()) in VisitCXXRecordDecl()
/external/desugar/java/com/google/devtools/build/android/desugar/
DInterfaceDesugaring.java286 static String normalizeInterfaceMethodName(String name, boolean isLambda, boolean isStatic) { in normalizeInterfaceMethodName() argument
287 if (isLambda) { in normalizeInterfaceMethodName()
399 boolean isLambda = name.startsWith("lambda$"); in visitMethodInsn()
400 name = normalizeInterfaceMethodName(name, isLambda, opcode == Opcodes.INVOKESTATIC); in visitMethodInsn()
401 if (isLambda) { in visitMethodInsn()
/external/llvm-project/clang-tools-extra/clang-tidy/fuchsia/
DTrailingReturnCheck.cpp33 hasParent(cxxRecordDecl(isLambda()))))) in registerMatchers()
DOverloadedOperatorCheck.cpp23 if (CXXMethodNode->getParent()->isLambda()) in AST_MATCHER()
/external/python/cpython2/Lib/compiler/
Dpycodegen.py367 self._visitFuncOrLambda(node, isLambda=0)
373 self._visitFuncOrLambda(node, isLambda=1)
375 def _visitFuncOrLambda(self, node, isLambda=0): argument
376 if not isLambda and node.decorators:
383 gen = self.FunctionGen(node, self.scopes, isLambda,
1350 def __init__(self, func, scopes, isLambda, class_name, mod): argument
1353 if isLambda:
1363 self.isLambda = isLambda
1366 if not isLambda and func.doc:
1384 if not self.isLambda:
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/cert/
DStaticObjectExceptionCheck.cpp28 unless(anyOf(isConstexpr(), hasType(cxxRecordDecl(isLambda())), in registerMatchers()
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTest.cpp80 if (record->isLambda() && !record->isImplicit()) in VisitCXXRecordDecl()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
DNoUncountedMembersChecker.cpp95 if (RD->isLambda()) in shouldSkipDecl()
DRefCntblBaseVirtualDtorChecker.cpp107 if (RD->isLambda()) in shouldSkipDecl()
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DMoveConstArgCheck.cpp82 if (R->isLambda()) in check()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DAvoidConstParamsInDecls.cpp43 isLambda(), ast_matchers::isTemplateInstantiation()))))), in registerMatchers()
DConvertMemberFunctionsToStatic.cpp85 isLambda(), in registerMatchers()
DFunctionSizeCheck.cpp150 unless(cxxMethodDecl(ofClass(isLambda())))) in registerMatchers()
DMakeMemberFunctionConstCheck.cpp222 ofClass(anyOf(isLambda(), in registerMatchers()
/external/llvm-project/clang/lib/AST/
DDeclCXX.cpp670 assert(isLambda() && "not a lambda"); in lambdaIsDefaultConstructibleAndAssignable()
1467 if (!isLambda()) return false; in isGenericLambda()
1481 if (!RD.isLambda()) return nullptr; in getLambdaCallOperatorHelper()
1517 assert(RD.isLambda() && "Must be a lambda"); in getLambdaStaticInvokers()
1530 if (!isLambda()) in getLambdaStaticInvoker()
1587 assert(isLambda() && "Not a lambda closure type!"); in getLambdaContextDecl()
1914 if (isLambda() || hasUserDeclaredConstructor() || in isInterfaceLike()
2482 return P->isLambda() && getDeclName().isIdentifier() && in isLambdaStaticInvoker()
2786 return isImplicit() && getParent()->isLambda() && in isLambdaToBlockPointerConversion()
DItaniumCXXABI.cpp144 assert(Lambda->isLambda()); in getManglingNumber()
DASTStructuralEquivalence.cpp1322 assert(D1->isLambda() && D2->isLambda() && in IsStructurallyEquivalentLambdas()
1423 if (D1CXX->isLambda() != D2CXX->isLambda()) in IsStructurallyEquivalent()
1425 if (D1CXX->isLambda()) { in IsStructurallyEquivalent()
/external/clang/lib/AST/
DDeclCXX.cpp1036 if (!isLambda()) return false; in isGenericLambda()
1041 if (!isLambda()) return nullptr; in getLambdaCallOperator()
1058 if (!isLambda()) return nullptr; in getLambdaStaticInvoker()
1092 if (!isLambda()) return nullptr; in getGenericLambdaTemplateParameterList()
1689 if (P->isLambda()) { in isLambdaStaticInvoker()
2008 return isImplicit() && getParent()->isLambda() && in isLambdaToBlockPointerConversion()
DMicrosoftMangle.cpp79 if (RD->isLambda()) in getEffectiveDeclContext()
115 static bool isLambda(const NamedDecl *ND) { in isLambda() function
120 return Record->isLambda(); in isLambda()
203 if (isLambda(ND)) { in getNextDiscriminator()
231 assert(RD->isLambda() && "RD must be a lambda!"); in getLambdaId()
809 if (Record->isLambda()) { in mangleUnqualifiedName()
1807 if (MD->getParent()->isLambda()) in mangleFunctionType()
/external/llvm-project/clang/lib/Analysis/
DBodyFarm.cpp276 assert(CallbackDecl->isLambda()); in create_call_once_lambda_call()
366 bool isLambdaCall = CallbackRecordDecl && CallbackRecordDecl->isLambda(); in create_call_once()

12345