[cfe-commits] r77525 - in /cfe/trunk: include/clang/Index/Handlers.h lib/Index/Indexer.cpp lib/Index/Program.cpp
Argiris Kirtzidis
akyrtzi at gmail.com
Wed Jul 29 16:38:36 PDT 2009
Author: akirtzidis
Date: Wed Jul 29 18:38:35 2009
New Revision: 77525
URL: http://llvm.org/viewvc/llvm-project?rev=77525&view=rev
Log:
Rename EntityHandler::HandleEntity to Handle.
Modified:
cfe/trunk/include/clang/Index/Handlers.h
cfe/trunk/lib/Index/Indexer.cpp
cfe/trunk/lib/Index/Program.cpp
Modified: cfe/trunk/include/clang/Index/Handlers.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Index/Handlers.h?rev=77525&r1=77524&r2=77525&view=diff
==============================================================================
--- cfe/trunk/include/clang/Index/Handlers.h (original)
+++ cfe/trunk/include/clang/Index/Handlers.h Wed Jul 29 18:38:35 2009
@@ -24,7 +24,7 @@
class EntityHandler {
public:
virtual ~EntityHandler();
- virtual void HandleEntity(Entity Ent) = 0;
+ virtual void Handle(Entity Ent) = 0;
};
/// \brief Abstract interface for receiving TranslationUnits.
Modified: cfe/trunk/lib/Index/Indexer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Index/Indexer.cpp?rev=77525&r1=77524&r2=77525&view=diff
==============================================================================
--- cfe/trunk/lib/Index/Indexer.cpp (original)
+++ cfe/trunk/lib/Index/Indexer.cpp Wed Jul 29 18:38:35 2009
@@ -28,7 +28,7 @@
public:
EntityIndexer(TranslationUnit *tu, Indexer::MapTy &map) : TU(tu), Map(map) { }
- virtual void HandleEntity(Entity Ent) {
+ virtual void Handle(Entity Ent) {
if (Ent.isInternalToTU())
return;
Map[Ent].insert(TU);
Modified: cfe/trunk/lib/Index/Program.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Index/Program.cpp?rev=77525&r1=77524&r2=77525&view=diff
==============================================================================
--- cfe/trunk/lib/Index/Program.cpp (original)
+++ cfe/trunk/lib/Index/Program.cpp Wed Jul 29 18:38:35 2009
@@ -37,7 +37,7 @@
continue;
Entity Ent = Entity::get(*I, Prog);
if (Ent.isValid())
- Handler->HandleEntity(Ent);
+ Handler->Handle(Ent);
if (DeclContext *SubDC = dyn_cast<DeclContext>(*I))
FindEntitiesInDC(SubDC, Prog, Handler);
}
More information about the cfe-commits
mailing list