[clang] [Clang] Require base element type of `__has_unique_object_representations` to be complete (PR #95432)
Shafik Yaghmour via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 13 11:23:18 PDT 2024
================
@@ -2791,6 +2791,12 @@ bool ASTContext::hasUniqueObjectRepresentations(
return hasUniqueObjectRepresentations(getBaseElementType(Ty),
CheckIfTriviallyCopyable);
+ if (Ty->isVoidType())
----------------
shafik wrote:
It is not clear why we need this change as well.
https://github.com/llvm/llvm-project/pull/95432
More information about the cfe-commits
mailing list