Searched refs:IsLambda (Results 1 – 7 of 7) sorted by relevance
540 TEST(DeclarationMatcher, IsLambda) { in TEST() argument541 const auto IsLambda = cxxMethodDecl(ofClass(cxxRecordDecl(isLambda()))); in TEST() local542 EXPECT_TRUE(matches("auto x = []{};", IsLambda)); in TEST()543 EXPECT_TRUE(notMatches("struct S { void operator()() const; };", IsLambda)); in TEST()
457 unsigned IsLambda : 1; member537 IsLambda = true; in LambdaDefinitionData()603 assert(DD && DD->IsLambda && "queried lambda property of non-lambda class"); in getLambdaData()1030 return DD && DD->IsLambda; in isLambda()
1518 if (Data.IsLambda) { in ReadCXXDefinitionData()1576 assert(!DD.IsLambda && !MergeDD.IsLambda && "faked up lambda definition?"); in MergeDefinitionData()1634 MATCH_FIELD(IsLambda) in MergeDefinitionData()1653 if (DD.IsLambda) { in MergeDefinitionData()1668 bool IsLambda = Record[Idx++]; in ReadCXXRecordDefinition() local1669 if (IsLambda) in ReadCXXRecordDefinition()
5475 Record->push_back(Data.IsLambda); in AddCXXDefinitionData()5534 if (Data.IsLambda) { in AddCXXDefinitionData()
73 HasDeclaredCopyAssignmentWithConstParam(false), IsLambda(false), in DefinitionData()
2172 ToData.IsLambda = FromData.IsLambda; in ImportDefinition()
13231 bool IsLambda = isa<LambdaScopeInfo>(CSI); in isVariableCapturable() local13237 if (IsLambda && !Var->getDeclName()) { in isVariableCapturable()13273 if (HasBlocksAttr && (IsLambda || isa<CapturedRegionScopeInfo>(CSI))) { in isVariableCapturable()13276 << Var->getDeclName() << !IsLambda; in isVariableCapturable()