[clang] Implement [[msvc::no_unique_address]] (PR #65675)
Shafik Yaghmour via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 19 13:58:12 PDT 2023
================
@@ -3317,6 +3353,7 @@ ASTContext::getASTRecordLayout(const RecordDecl *D) const {
Builder.EndsWithZeroSizedObject, Builder.LeadsWithZeroSizedBase,
Builder.Bases, Builder.VBases);
} else {
+ MicrosoftRecordLayoutBuilder Builder(*this, /*EmptySubobjects*/ nullptr);
----------------
shafik wrote:
see [bugprone-argument-comment](https://clang.llvm.org/extra/clang-tidy/checks/bugprone/argument-comment.html)
https://github.com/llvm/llvm-project/pull/65675
More information about the cfe-commits
mailing list