diff options
| -rw-r--r-- | clang/include/clang/AST/Decl.h | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/clang/include/clang/AST/Decl.h b/clang/include/clang/AST/Decl.h index 2d975853d0f..9b120a4e55b 100644 --- a/clang/include/clang/AST/Decl.h +++ b/clang/include/clang/AST/Decl.h @@ -138,6 +138,8 @@ public:    // FIXME: Deprecated, move clients to getName().    std::string getNameAsString() const { return Name.getAsString(); } +  void printName(llvm::raw_ostream &os) const { return Name.printName(os); } +    /// getDeclName - Get the actual, stored name of the declaration,    /// which may be a special name.    DeclarationName getDeclName() const { return Name; } | 

