Lines Matching defs:CRTP
23 static bool isDerivedParameterBefriended(const CXXRecordDecl *CRTP,
25 return llvm::any_of(CRTP->friends(), [&](const FriendDecl *Friend) {
38 static bool isDerivedClassBefriended(const CXXRecordDecl *CRTP,
40 return llvm::any_of(CRTP->friends(), [&](const FriendDecl *Friend) {
51 getDerivedParameter(const ClassTemplateSpecializationDecl *CRTP,
55 CRTP->getTemplateArgs().asArray(), [&](const TemplateArgument &Arg) {
61 return AnyOf ? CRTP->getSpecializedTemplate()
115 "No template parameter corresponds to the derived class of the CRTP.");
127 "the CRTP cannot be constructed from the derived class; consider "
146 "the implicit default constructor of the CRTP is publicly "
168 "%0 constructor allows the CRTP to be %select{inherited "