Migrate some stuff from NamedDecl::getName() to 
NamedDecl::getNameAsString() to make it more explicit.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59937 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/StmtDumper.cpp b/lib/AST/StmtDumper.cpp
index b73dc53..f11536f 100644
--- a/lib/AST/StmtDumper.cpp
+++ b/lib/AST/StmtDumper.cpp
@@ -218,7 +218,7 @@
       }
     }
     
-    std::string Name = VD->getName();
+    std::string Name = VD->getNameAsString();
     VD->getType().getAsStringInternal(Name);
     fprintf(F, "%s", Name.c_str());
     
@@ -296,7 +296,7 @@
     default: fprintf(F,"Decl"); break;
   }
   
-  fprintf(F, "='%s' %p", Node->getDecl()->getName().c_str(), 
+  fprintf(F, "='%s' %p", Node->getDecl()->getNameAsString().c_str(), 
           (void*)Node->getDecl());
 }