File tree 1 file changed +0
-13
lines changed
1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -616,19 +616,6 @@ class ASTVisitor
616
616
if (! (D = FD->getFriendDecl ()))
617
617
return true ;
618
618
}
619
- // functions require their parameter types to be decayed
620
- // prior to USR generator to ensure that declarations
621
- // with parameter types which decay to the same type
622
- // generate the same USR
623
- if (const auto * FD = dyn_cast<FunctionDecl>(D))
624
- {
625
- // apply the type adjustments specified in [dcl.fct] p5
626
- // to ensure that the USR of the corresponding function matches
627
- // other declarations of the function that have parameters declared
628
- // with different top-level cv-qualifiers.
629
- for (ParmVarDecl* P : FD->parameters ())
630
- P->setType (context_.getSignatureParameterType (P->getType ()));
631
- }
632
619
return index ::generateUSRForDecl (D, usr_);
633
620
}
634
621
You can’t perform that action at this time.
0 commit comments