[all-commits] [llvm/llvm-project] 0faee9: Recommit "Implement [[msvc::no_unique_address]] (#...
Amy Huang via All-commits
all-commits at lists.llvm.org
Thu Sep 28 14:29:45 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0faee97a924adec76d5c7cd680c289ced51e6b5a
https://github.com/llvm/llvm-project/commit/0faee97a924adec76d5c7cd680c289ced51e6b5a
Author: Amy Huang <akhuang at google.com>
Date: 2023-09-28 (Thu, 28 Sep 2023)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/ParsedAttrInfo.h
M clang/lib/AST/Decl.cpp
M clang/lib/AST/RecordLayoutBuilder.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Sema/ParsedAttr.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
A clang/test/Layout/ms-no-unique-address.cpp
M clang/test/Preprocessor/has_attribute.cpp
A clang/test/SemaCXX/cxx2a-ms-no-unique-address.cpp
M clang/utils/TableGen/ClangAttrEmitter.cpp
Log Message:
-----------
Recommit "Implement [[msvc::no_unique_address]] (#65675)" (#67199)
This implements the [[msvc::no_unique_address]] attribute.
There is not ABI compatibility in this patch because the attribute is
relatively new and there's still some uncertainty in the MSVC version.
The recommit changes the attribute definitions so that instead of making
two separate attributes for no_unique_address
and msvc::no_unique_address, it modifies the attributes tablegen emitter
to allow spellings to be target-specific.
This reverts commit 71f9e7695b87298f9855d8890f0e6a3b89381eb5.
More information about the All-commits
mailing list