Rename NamedDecl::getName() to getNameAsString().  Replace a bunch of 
uses of getName() with uses of getDeclName().  This upgrades a bunch of
diags to take DeclNames instead of std::strings.

This also tweaks a couple of diagnostics to be cleaner and changes
CheckInitializerTypes/PerformInitializationByConstructor to pass
around DeclarationNames instead of std::strings.

llvm-svn: 59947
diff --git a/clang/lib/Analysis/MemRegion.cpp b/clang/lib/Analysis/MemRegion.cpp
index 28a27b04..86f8571 100644
--- a/clang/lib/Analysis/MemRegion.cpp
+++ b/clang/lib/Analysis/MemRegion.cpp
@@ -145,7 +145,7 @@
 }
 
 void VarRegion::print(llvm::raw_ostream& os) const {
-  os << cast<VarDecl>(D)->getName();
+  os << cast<VarDecl>(D)->getNameAsString();
 }
 
 void SymbolicRegion::print(llvm::raw_ostream& os) const {
@@ -154,7 +154,7 @@
 
 void FieldRegion::print(llvm::raw_ostream& os) const {
   superRegion->print(os);
-  os << "->" << getDecl()->getName();
+  os << "->" << getDecl()->getNameAsString();
 }
 
 void ElementRegion::print(llvm::raw_ostream& os) const {