]> granicus.if.org Git - clang/commitdiff
Removing an unused member variable; NFC.
authorAaron Ballman <aaron@aaronballman.com>
Mon, 13 May 2019 22:29:16 +0000 (22:29 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 13 May 2019 22:29:16 +0000 (22:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360628 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/JSONNodeDumper.h

index d0de8a8aa29ce4fc6db01a64ae17bfe4949b86a8..283147517d65865208020ceb4cd2e023fd199849 100644 (file)
@@ -118,7 +118,6 @@ class JSONNodeDumper
       public NodeStreamer {
   friend class JSONDumper;
 
-  raw_ostream &OS;
   const SourceManager &SM;
   PrintingPolicy PrintPolicy;
 
@@ -161,7 +160,7 @@ class JSONNodeDumper
 public:
   JSONNodeDumper(raw_ostream &OS, const SourceManager &SrcMgr,
                  const PrintingPolicy &PrintPolicy)
-      : NodeStreamer(OS), OS(OS), SM(SrcMgr), PrintPolicy(PrintPolicy) {}
+      : NodeStreamer(OS), SM(SrcMgr), PrintPolicy(PrintPolicy) {}
 
   void Visit(const Attr *A);
   void Visit(const Stmt *Node);