Hide IdxVisitor and remove unimplemented method (causing link errors on x86_64
linux builder).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80376 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/CIndex/CIndex.cpp b/tools/CIndex/CIndex.cpp
index dc44fd2..4c1cac9 100644
--- a/tools/CIndex/CIndex.cpp
+++ b/tools/CIndex/CIndex.cpp
@@ -43,10 +43,10 @@
   return ASTUnit::LoadFromPCHFile(astName, CXXIdx->getFileManager(), &ErrMsg);
 }
 
+namespace {
+
 class IdxVisitor : public DeclVisitor<IdxVisitor> {
 public:
-  IdxVisitor();
-  
   void VisitNamedDecl(NamedDecl *ND) {
     printf("NamedDecl (%s:", ND->getDeclKindName());
     if (ND->getIdentifier())
@@ -56,6 +56,8 @@
   }
 };
 
+}
+
 void clang_loadTranslationUnit(
   CXTranslationUnit CTUnit, void (*callback)(CXTranslationUnit, CXCursor))
 {