summaryrefslogtreecommitdiffstats
path: root/clang/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
commitd219a9a763a6e4fd3317f5bef2a09828a1d0af97 (patch)
treed08a0cf9ccd1a76eac2f5ea9f7f64d5942874529 /clang/lib/Index/ProgramImpl.h
parentca8a0e24cb8edd0c5567dc9a984c1033a4bc9d09 (diff)
downloadbcm5719-llvm-d219a9a763a6e4fd3317f5bef2a09828a1d0af97.tar.gz
bcm5719-llvm-d219a9a763a6e4fd3317f5bef2a09828a1d0af97.zip
Introduce the GlobalSelector class in the Indexing library.
GlobalSelector is an ASTContext-independent way to refer to Objective C selectors. llvm-svn: 77538
Diffstat (limited to 'clang/lib/Index/ProgramImpl.h')
-rw-r--r--clang/lib/Index/ProgramImpl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Index/ProgramImpl.h b/clang/lib/Index/ProgramImpl.h
index b962a2d3275..1fbff9b3256 100644
--- a/clang/lib/Index/ProgramImpl.h
+++ b/clang/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);
OpenPOWER on IntegriCloud