diff options
author | Anders Carlsson <andersca@mac.com> | 2009-12-14 00:51:04 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-12-14 00:51:04 +0000 |
commit | 84834432289a810e713f82f1ed94a99ad8a5c2ea (patch) | |
tree | 67f5fae6fffb5ee9755edebf41694685efafff9f | |
parent | 3bf190ebefb861fd05c77d5f47d4709386735a12 (diff) |
Rename dump to dumpDeclContext, so that call RD->dump() won't dump the decl context by default.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91256 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/DeclBase.h | 2 | ||||
-rw-r--r-- | lib/AST/DeclPrinter.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/AST/DeclBase.h b/include/clang/AST/DeclBase.h index 17f379dace..497f86347a 100644 --- a/include/clang/AST/DeclBase.h +++ b/include/clang/AST/DeclBase.h @@ -1006,7 +1006,7 @@ public: static bool classof(const Name##Decl *D) { return true; } #include "clang/AST/DeclNodes.def" - void dump() const; + void dumpDeclContext() const; private: void LoadLexicalDeclsFromExternalStorage() const; diff --git a/lib/AST/DeclPrinter.cpp b/lib/AST/DeclPrinter.cpp index ed16b33116..32ac53d85b 100644 --- a/lib/AST/DeclPrinter.cpp +++ b/lib/AST/DeclPrinter.cpp @@ -148,7 +148,7 @@ void Decl::printGroup(Decl** Begin, unsigned NumDecls, } } -void DeclContext::dump() const { +void DeclContext::dumpDeclContext() const { // Get the translation unit const DeclContext *DC = this; while (!DC->isTranslationUnit()) |