Skip to content

Commit 98ca16b

Browse files
committed
revert unrelated change
1 parent acdef94 commit 98ca16b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/utils/TableGen/ClangAttrEmitter.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5265,11 +5265,10 @@ GetAttributeHeadingAndSpellings(const Record &Documentation,
52655265
}
52665266

52675267
std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(Attribute);
5268-
if (Spellings.empty()) {
5268+
if (Spellings.empty())
52695269
PrintFatalError(Attribute.getLoc(),
52705270
"Attribute has no supported spellings; cannot be "
52715271
"documented");
5272-
}
52735272

52745273
// Determine the heading to be used for this attribute.
52755274
std::string Heading = Documentation.getValueAsString("Heading").str();

0 commit comments

Comments
 (0)