make var in anon namespace static.  Use \n instead of std::endl.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42020 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/CFG.cpp b/AST/CFG.cpp
index cdde4af..3ccaa05 100644
--- a/AST/CFG.cpp
+++ b/AST/CFG.cpp
@@ -1270,9 +1270,7 @@
 
 
 #ifndef NDEBUG
-namespace {
-  StmtPrinterHelper* GraphHelper;  
-}
+static StmtPrinterHelper* GraphHelper;  
 #endif
 
 void CFG::viewCFG() const {
@@ -1283,7 +1281,7 @@
   GraphHelper = NULL;
 #else
   std::cerr << "CFG::viewCFG is only available in debug builds on "
-  << "systems with Graphviz or gv!" << std::endl;
+            << "systems with Graphviz or gv!\";
 #endif
 }