[AST][NFC] Doc comments for ASTNameGenerator

llvm-svn: 371112
This commit is contained in:
Jan Korous 2019-09-05 20:04:11 +00:00
parent cae1e47f6e
commit afd8249278
1 changed files with 8 additions and 0 deletions

View File

@ -250,8 +250,16 @@ class ASTNameGenerator {
public:
explicit ASTNameGenerator(ASTContext &Ctx);
~ASTNameGenerator();
/// Writes name for \p D to \p OS.
/// \returns true on failure, false on success.
bool writeName(const Decl *D, raw_ostream &OS);
/// \returns name for \p D
std::string getName(const Decl *D);
/// \returns all applicable mangled names.
/// For example C++ constructors/destructors can have multiple.
std::vector<std::string> getAllManglings(const Decl *D);
private: