[clang] 2d27bf2 - Revert "Fix attr docs from previous no-unique-adderss change (#67195)"
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 22 14:04:22 PDT 2023
Author: Fangrui Song
Date: 2023-09-22T14:04:16-07:00
New Revision: 2d27bf23369561e68456025aa24cb46fee130482
URL: https://github.com/llvm/llvm-project/commit/2d27bf23369561e68456025aa24cb46fee130482
DIFF: https://github.com/llvm/llvm-project/commit/2d27bf23369561e68456025aa24cb46fee130482.diff
LOG: Revert "Fix attr docs from previous no-unique-adderss change (#67195)"
This reverts commit 44f2db7493454b41d2f5c81b76bd30f2f035ed31.
It caused
```
error: Record `NoUniqueAddress', field `Documentation' exists but does not have a list value
```
Added:
Modified:
clang/include/clang/Basic/Attr.td
Removed:
################################################################################
diff --git a/clang/include/clang/Basic/Attr.td b/clang/include/clang/Basic/Attr.td
index 35eb6ff63132629..bb8d204f33dc531 100644
--- a/clang/include/clang/Basic/Attr.td
+++ b/clang/include/clang/Basic/Attr.td
@@ -1803,6 +1803,7 @@ def NoUniqueAddress : InheritableAttr {
// No spellings because instances of this attribute are created by
// MSNoUniqueAddress and ItaniumNoUniqueAddress
let Spellings = [];
+ let Documentation = [NoUniqueAddressDocs];
}
def MSNoUniqueAddress : InheritableAttr, TargetSpecificAttr<TargetMicrosoftCXXABI> {
More information about the cfe-commits
mailing list