================
@@ -7256,6 +7256,29 @@ static bool MustDelayAttributeArguments(const ParsedAttr
&AL) {
return false;
}
+PersonalityAttr *Sema::mergePersonalityAttr(Decl *D, FunctionDecl *Routine,
+ const AttributeCommonInfo &CI) {
+ if (PersonalityAttr *PA = D->getAttr<PersonalityAttr>()) {
+ const FunctionDecl *Personality = PA->getRoutine();
+ if (Personality == Routine)
----------------
erichkeane wrote:
This needs to use `ASTContext::isSameEntity`.
https://github.com/llvm/llvm-project/pull/185225
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits