return true;
if (Converted) {
- Member = cast<NamedDecl>(Context.getCanonicalDecl(Member));
+ Member = cast_or_null<NamedDecl>(Context.getCanonicalDecl(Member));
Converted->push_back(TemplateArgument(StartLoc, Member));
}
return true;
if (Converted) {
- Entity = cast<NamedDecl>(Context.getCanonicalDecl(Entity));
+ Entity = cast_or_null<NamedDecl>(Context.getCanonicalDecl(Entity));
Converted->push_back(TemplateArgument(StartLoc, Entity));
}
return false;
return true;
if (Converted) {
- Entity = cast<NamedDecl>(Context.getCanonicalDecl(Entity));
+ Entity = cast_or_null<NamedDecl>(Context.getCanonicalDecl(Entity));
Converted->push_back(TemplateArgument(StartLoc, Entity));
}
return true;
if (Converted) {
- Member = cast<NamedDecl>(Context.getCanonicalDecl(Member));
+ Member = cast_or_null<NamedDecl>(Context.getCanonicalDecl(Member));
Converted->push_back(TemplateArgument(StartLoc, Member));
}