ASTContext: make RawComment APIs private. One should use Decl's APIs instead.

Swift SVN r14085
This commit is contained in:
Dmitri Hrybenko
2014-02-19 16:35:22 +00:00
parent 34df7b494e
commit b4bf794551

View File

@@ -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);