[PATCH] D119051: Extend the C++03 definition of POD to include defaulted functions
Erich Keane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 12 11:55:55 PDT 2022
erichkeane added inline comments.
================
Comment at: clang/lib/AST/DeclCXX.cpp:892
+ LangOptions::ClangABI::Ver15)) {
+ // C++03 [class]p4:
+ // A POD-struct is an aggregate class that has [...] no user-defined
----------------
Does this language change much if there are constraints on this method? We might need to consider that if we are breaking ABI here.
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