aboutsummaryrefslogtreecommitdiff
path: root/lib/Index/ProgramImpl.h
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-29 23:40:32 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-29 23:40:32 +0000
commit27bd0dcb85cbb5dd3ca3fefc6369f34d6ccaa8b6 (patch)
treed76f5b05385f8d40e557f6d94673cc8b0d7de7e4 /lib/Index/ProgramImpl.h
parentdc1792c78ac40a05c3ab00d4da5574ba03f19769 (diff)
Introduce the GlobalSelector class in the Indexing library.
GlobalSelector is an ASTContext-independent way to refer to Objective C selectors. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77538 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Index/ProgramImpl.h')
-rw-r--r--lib/Index/ProgramImpl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Index/ProgramImpl.h b/lib/Index/ProgramImpl.h
index b962a2d327..1fbff9b325 100644
--- a/lib/Index/ProgramImpl.h
+++ b/lib/Index/ProgramImpl.h
@@ -32,6 +32,7 @@ private:
llvm::BumpPtrAllocator BumpAlloc;
IdentifierTable Identifiers;
+ SelectorTable Selectors;
ProgramImpl(const ProgramImpl&); // do not implement
ProgramImpl &operator=(const ProgramImpl &); // do not implement
@@ -41,6 +42,7 @@ public:
EntitySetTy &getEntities() { return Entities; }
IdentifierTable &getIdents() { return Identifiers; }
+ SelectorTable &getSelectors() { return Selectors; }
void *Allocate(unsigned Size, unsigned Align = 8) {
return BumpAlloc.Allocate(Size, Align);