]> granicus.if.org Git - clang/commitdiff
Rename dump to dumpDeclContext, so that call RD->dump() won't dump the decl context...
authorAnders Carlsson <andersca@mac.com>
Mon, 14 Dec 2009 00:51:04 +0000 (00:51 +0000)
committerAnders Carlsson <andersca@mac.com>
Mon, 14 Dec 2009 00:51:04 +0000 (00:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91256 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/DeclBase.h
lib/AST/DeclPrinter.cpp

index 17f379dace56059b3d18ad2040cdef02755f7020..497f86347a860bc22e28a17205744cccbb450c4b 100644 (file)
@@ -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;
index ed16b33116d64a5533e2bc5fad40555ff03e5b28..32ac53d85be8687a5848096ae2165fb2b1fdee5d 100644 (file)
@@ -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())