diff options
Diffstat (limited to 'include/clang/AST/Decl.h')
-rw-r--r-- | include/clang/AST/Decl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h index 8e688fec5d..46cbe7ab54 100644 --- a/include/clang/AST/Decl.h +++ b/include/clang/AST/Decl.h @@ -101,6 +101,7 @@ public: /// absolutely critical. For simple declarations, @c /// getIdentifierName() should suffice. std::string getName() const { return Name.getAsString(); } + std::string getNameAsString() const { return Name.getAsString(); } static bool classof(const Decl *D) { return D->getKind() >= NamedFirst && D->getKind() <= NamedLast; |