summaryrefslogtreecommitdiffstats
path: root/clang/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
commit8911229187cb223dba70483678f90bb8e3896ed3 (patch)
treedae081425fea7f58b0a7b497e4f1cde1015eed21 /clang/lib/AST/DeclPrinter.cpp
parentc67974ccb1e6988d6c59084fe1c8974f536c4904 (diff)
downloadbcm5719-llvm-8911229187cb223dba70483678f90bb8e3896ed3.tar.gz
bcm5719-llvm-8911229187cb223dba70483678f90bb8e3896ed3.zip
Rename dump to dumpDeclContext, so that call RD->dump() won't dump the decl context by default.
llvm-svn: 91256
Diffstat (limited to 'clang/lib/AST/DeclPrinter.cpp')
-rw-r--r--clang/lib/AST/DeclPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/DeclPrinter.cpp b/clang/lib/AST/DeclPrinter.cpp
index ed16b33116d..32ac53d85be 100644
--- a/clang/lib/AST/DeclPrinter.cpp
+++ b/clang/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())
OpenPOWER on IntegriCloud