[PATCH] D119051: Extend the C++03 definition of POD to include defaulted functions
Reid Kleckner via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 10 17:03:06 PDT 2022
rnk added a comment.
+#clang-vendors <https://reviews.llvm.org/tag/clang-vendors/> for ABI changes
================
Comment at: clang/include/clang/Basic/TargetInfo.h:1569
+ virtual bool areDefaultedSMFStillPOD(const LangOptions&) const;
+
----------------
Please add a doc comment for this, with some history about how previously explicitly defaulting certain special members would make types non-POD, and that changing what is POD can change record layout, so some targets return false to opt for the old, stable behavior.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119051/new/
https://reviews.llvm.org/D119051
More information about the cfe-commits
mailing list