Skip to content

Commit b03fbba

Browse files
committed
Fix spelling of DomainAvailabilityAttr and specify documentation
rdar://146057514
1 parent 41a9f5e commit b03fbba

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 = [Clang<"">];
1130+
let Spellings = [];
11311131
let Args = [StringArgument<"domain">, BoolArgument<"unavailable">];
11321132
let AdditionalMembers = [{
11331133
std::string getFeatureAttributeStr() const;
11341134
}];
1135-
let Documentation = [Undocumented];
1135+
let Documentation = [InternalOnly];
11361136
}
11371137

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

0 commit comments

Comments
 (0)