-Make IndexProvider an abstract interface for getting indexing information.

-Introduce Indexer as an IndexProvider implementation.

llvm-svn: 77524
This commit is contained in:
Argyrios Kyrtzidis
2009-07-29 23:38:21 +00:00
parent b6b8f9e291
commit dd9ee4aa04
8 changed files with 201 additions and 105 deletions

View File

@@ -13,7 +13,7 @@
#include "clang/Index/Program.h"
#include "ProgramImpl.h"
#include "clang/Index/EntityHandler.h"
#include "clang/Index/Handlers.h"
#include "clang/Index/TranslationUnit.h"
#include "clang/AST/DeclBase.h"
#include "clang/AST/ASTContext.h"
@@ -22,11 +22,8 @@ using namespace clang;
using namespace idx;
// Out-of-line to give the virtual tables a home.
EntityHandler::~EntityHandler() { }
TranslationUnit::~TranslationUnit() { }
void EntityHandler::HandleEntity(Entity Ent) { }
Program::Program() : Impl(new ProgramImpl()) { }
Program::~Program() {