]> granicus.if.org Git - clang/commitdiff
ASTDumper.cpp: Appease g++, for now.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 31 Oct 2014 00:30:37 +0000 (00:30 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 31 Oct 2014 00:30:37 +0000 (00:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220940 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/ASTDumper.cpp

index bb4ecc2cff5f01c2c2364277f0c1d64b2f4c0699..d121d0d52776468c9b3cca01d77225d63d38a84c 100644 (file)
@@ -152,8 +152,8 @@ namespace  {
           OS << '\n';
           ColorScope Color(*this, IndentColor);
           OS << Prefix << (isLastChild ? '`' : '|') << '-';
-          Prefix.push_back(isLastChild ? ' ' : '|');
-          Prefix.push_back(' ');
+          this->Prefix.push_back(isLastChild ? ' ' : '|');
+          this->Prefix.push_back(' ');
         }
 
         FirstChild = true;
@@ -166,11 +166,11 @@ namespace  {
         // Dump those ones out now.
         while (Depth < Pending.size()) {
           Pending.back()(true);
-          Pending.pop_back();
+          this->Pending.pop_back();
         }
 
         // Restore the old prefix.
-        Prefix.resize(Prefix.size() - 2);
+        this->Prefix.resize(Prefix.size() - 2);
       };
 
       if (FirstChild) {