[clang] [PAC] Ignore noexcept on function type when computing discriminator of member function pointers (PR #109056)
John McCall via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 16 14:52:39 PST 2025
================
@@ -3442,6 +3442,35 @@ uint16_t ASTContext::getPointerAuthTypeDiscriminator(QualType T) {
encodeTypeForFunctionPointerAuth(*this, Out, T);
} else {
T = T.getUnqualifiedType();
+ // Drop exception specification from member function pointer type.
----------------
rjmccall wrote:
Please drop this line, it's been incorporated into the comment below.
https://github.com/llvm/llvm-project/pull/109056
More information about the cfe-commits
mailing list