[NFC] Merge two category name accessors

This commit is contained in:
Becca Royal-Gordon
2024-04-26 17:54:39 -07:00
parent 0bbe26d7c2
commit c3225b066e
6 changed files with 28 additions and 36 deletions

View File

@@ -1912,11 +1912,6 @@ public:
/// \endcode
bool isWrittenWithConstraints() const;
/// Returns the name of the category specified by the \c \@_objcImplementation
/// attribute, or \c None if the name is invalid or
/// \c isObjCImplementation() is false.
std::optional<Identifier> getCategoryNameForObjCImplementation() const;
/// If this extension represents an imported Objective-C category, returns the
/// category's name. Otherwise returns the empty identifier.
Identifier getObjCCategoryName() const;