Skip to content

Commit 265910e

Browse files
authored
Revert "Fix spelling of DomainAvailabilityAttr and specify documentation"
This reverts commit b03fbba.
1 parent 1acde3a commit 265910e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/include/clang/Basic/Attr.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,12 +1127,12 @@ static llvm::Triple::EnvironmentType getEnvironmentType(llvm::StringRef Environm
11271127
def DomainAvailability : InheritableAttr {
11281128
// This attribute has no spellings as it is created implicitly when
11291129
// __attribute__((availability(domain:...))) is seen.
1130-
let Spellings = [];
1130+
let Spellings = [Clang<"">];
11311131
let Args = [StringArgument<"domain">, BoolArgument<"unavailable">];
11321132
let AdditionalMembers = [{
11331133
std::string getFeatureAttributeStr() const;
11341134
}];
1135-
let Documentation = [InternalOnly];
1135+
let Documentation = [Undocumented];
11361136
}
11371137

11381138
// This attribute is used to annotate structs of type `_AvailabilityDomain`.

0 commit comments

Comments
 (0)