Don't ask for the canonical because we know it is.
This commit is contained in:
parent
b0fe13d878
commit
dff5dd2cc4
@ -501,8 +501,7 @@ namespace cling {
|
||||
// to distinguish is by source location comparison.
|
||||
// FIXME: When the misbehavior of clang is fixed we must avoid relying on
|
||||
// source locations
|
||||
FunctionDecl* canonSpecialization = FD->getCanonicalDecl();
|
||||
FunctionTemplateDeclExt::removeSpecialization(FTD, canonSpecialization);
|
||||
FunctionTemplateDeclExt::removeSpecialization(FTD, FD);
|
||||
}
|
||||
|
||||
return Successful;
|
||||
|
Loading…
Reference in New Issue
Block a user