aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/DeclPrinter.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-12-14 00:51:04 +0000
committerAnders Carlsson <andersca@mac.com>2009-12-14 00:51:04 +0000
commit84834432289a810e713f82f1ed94a99ad8a5c2ea (patch)
tree67f5fae6fffb5ee9755edebf41694685efafff9f /lib/AST/DeclPrinter.cpp
parent3bf190ebefb861fd05c77d5f47d4709386735a12 (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
Diffstat (limited to 'lib/AST/DeclPrinter.cpp')
-rw-r--r--lib/AST/DeclPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
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())