[PATCH] D154778: [clang] Fix __is_trivially_equality_comparable for classes which contain arrays of non-trivially equality comparable types

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 9 04:18:31 PDT 2023


tbaeder added inline comments.


================
Comment at: clang/lib/AST/Type.cpp:2676
+           if (Type->isArrayType())
+            Type = Type->getBaseElementTypeUnsafe()->getCanonicalTypeUnqualified();
+
----------------



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154778/new/

https://reviews.llvm.org/D154778



More information about the cfe-commits mailing list