[clang] [clang] Fix PointerAuth semantics of cpp_trivially_relocatable (PR #143796)
Oliver Hunt via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 12 02:01:05 PDT 2025
================
@@ -10615,7 +10615,7 @@ void Sema::checkIllFormedTrivialABIStruct(CXXRecordDecl &RD) {
}
}
- if (IsCXXTriviallyRelocatableType(RD))
+ if (CheckCXX2CRelocatableAndReplaceable(&RD).IsRelocatable)
----------------
ojhunt wrote:
I think I did restore it for QualType and was too lazy to add the RD wrapper as well
https://github.com/llvm/llvm-project/pull/143796
More information about the cfe-commits
mailing list