diff options
author | Mike Stump <mrs@apple.com> | 2009-09-09 15:08:12 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-09-09 15:08:12 +0000 |
commit | 1eb4433ac451dc16f4133a88af2d002ac26c58ef (patch) | |
tree | 07065b80cb7787bb7b9ffcb985196007a57e86f7 /lib/Index/Indexer.cpp | |
parent | 79d39f92590cf2e91bf81486b02cd1156d13ca54 (diff) |
Remove tabs, and whitespace cleanups.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81346 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Index/Indexer.cpp')
-rw-r--r-- | lib/Index/Indexer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Index/Indexer.cpp b/lib/Index/Indexer.cpp index 75dfbd584c..57bfc5b4fb 100644 --- a/lib/Index/Indexer.cpp +++ b/lib/Index/Indexer.cpp @@ -25,7 +25,7 @@ namespace { class EntityIndexer : public EntityHandler { TranslationUnit *TU; Indexer::MapTy ⤅ - + public: EntityIndexer(TranslationUnit *tu, Indexer::MapTy &map) : TU(tu), Map(map) { } @@ -64,7 +64,7 @@ void Indexer::IndexAST(TranslationUnit *TU) { CtxTUMap[&Ctx] = TU; EntityIndexer Idx(TU, Map); Prog.FindEntities(Ctx, Idx); - + SelectorIndexer SelIdx(Prog, TU, SelMap); SelIdx.Visit(Ctx.getTranslationUnitDecl()); } @@ -84,7 +84,7 @@ void Indexer::GetTranslationUnitsFor(Entity Ent, MapTy::iterator I = Map.find(Ent); if (I == Map.end()) return; - + TUSetTy &Set = I->second; for (TUSetTy::iterator I = Set.begin(), E = Set.end(); I != E; ++I) Handler.Handle(*I); @@ -97,7 +97,7 @@ void Indexer::GetTranslationUnitsFor(GlobalSelector Sel, SelMapTy::iterator I = SelMap.find(Sel); if (I == SelMap.end()) return; - + TUSetTy &Set = I->second; for (TUSetTy::iterator I = Set.begin(), E = Set.end(); I != E; ++I) Handler.Handle(*I); |