[clang] [clang] Fix PointerAuth semantics of cpp_trivially_relocatable (PR #143796)
Corentin Jabot via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 12 01:01:25 PDT 2025
================
@@ -10615,7 +10615,7 @@ void Sema::checkIllFormedTrivialABIStruct(CXXRecordDecl &RD) {
}
}
- if (IsCXXTriviallyRelocatableType(RD))
+ if (CheckCXX2CRelocatableAndReplaceable(&RD).IsRelocatable)
----------------
cor3ntin wrote:
I think we should keep that interface even if we deleguate to something under the hood
https://github.com/llvm/llvm-project/pull/143796
More information about the cfe-commits
mailing list