mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
ASTContext: make RawComment APIs private. One should use Decl's APIs instead.
Swift SVN r14085
This commit is contained in:
@@ -567,14 +567,11 @@ public:
|
||||
/// Returns the protocol requirement decls for a conforming decl.
|
||||
ArrayRef<ValueDecl *> getConformances(ValueDecl *D);
|
||||
|
||||
/// Returns the raw comment attached to the given decl.
|
||||
Optional<RawComment> getRawComment(const Decl *D);
|
||||
|
||||
/// Attaches a raw comment to the decl.
|
||||
void setRawComment(const Decl *D, RawComment RC);
|
||||
|
||||
private:
|
||||
friend class Decl;
|
||||
Optional<RawComment> getRawComment(const Decl *D);
|
||||
void setRawComment(const Decl *D, RawComment RC);
|
||||
|
||||
ClangNode getClangNode(const Decl *decl);
|
||||
void setClangNode(const Decl *decl, ClangNode node);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user