================ @@ -14040,6 +14040,8 @@ class Sema final { bool SemaValueIsRunOfOnes(CallExpr *TheCall, unsigned ArgNum); public: + bool SemaIsLayoutCompatible(QualType T1, QualType T2); ---------------- tbaederr wrote:
Can this function no be `const`? And I guess the "Sema" prefix is to disambiguate with the existing `isLayoutCompatible`? https://github.com/llvm/llvm-project/pull/81506 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits