r351015 - NFC: Make utility private

Stephen Kelly via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 12 09:07:06 PST 2019


Author: steveire
Date: Sat Jan 12 09:07:05 2019
New Revision: 351015

URL: http://llvm.org/viewvc/llvm-project?rev=351015&view=rev
Log:
NFC: Make utility private

No callers are external to the class anymore.

Modified:
    cfe/trunk/include/clang/AST/TextNodeDumper.h

Modified: cfe/trunk/include/clang/AST/TextNodeDumper.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/TextNodeDumper.h?rev=351015&r1=351014&r2=351015&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/TextNodeDumper.h (original)
+++ cfe/trunk/include/clang/AST/TextNodeDumper.h Sat Jan 12 09:07:05 2019
@@ -167,7 +167,6 @@ public:
   void dumpBareDeclRef(const Decl *D);
   void dumpName(const NamedDecl *ND);
   void dumpAccessSpecifier(AccessSpecifier AS);
-  void dumpCXXTemporary(const CXXTemporary *Temporary);
 
   void dumpDeclRef(const Decl *D, StringRef Label = {});
 
@@ -255,6 +254,9 @@ public:
   void VisitObjCSubscriptRefExpr(const ObjCSubscriptRefExpr *Node);
   void VisitObjCIvarRefExpr(const ObjCIvarRefExpr *Node);
   void VisitObjCBoolLiteralExpr(const ObjCBoolLiteralExpr *Node);
+
+private:
+  void dumpCXXTemporary(const CXXTemporary *Temporary);
 };
 
 } // namespace clang




More information about the cfe-commits mailing list