[PATCH] D45176: implement recent "standard-layout" changes

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 3 14:43:54 PDT 2018


rjmccall added inline comments.


================
Comment at: AST/DeclCXX.cpp:1130
           data().IsStandardLayout = false;
+          data().IsCXX11StandardLayout = false;
+        }
----------------
`IsCXX11StandardLayout` should be based on `FieldRec->isCXX11StandardLayout()`, I assume.


https://reviews.llvm.org/D45176





More information about the cfe-commits mailing list