]> granicus.if.org Git - clang/commit
Add support for ObjC keyword selectors.
authorSteve Naroff <snaroff@apple.com>
Mon, 17 Sep 2007 14:16:13 +0000 (14:16 +0000)
committerSteve Naroff <snaroff@apple.com>
Mon, 17 Sep 2007 14:16:13 +0000 (14:16 +0000)
commit3f128ad2691d299b96663da85a9e069c4081ea7c
treedd6d3313ba38b90d71adfcf7b1d135465b54aaa2
parent3860c11a3f8a862db25014d555745d8cfd3aaec9
Add support for ObjC keyword selectors.

- Add SelectorInfo/SelectorTable classes, modeled after IdentifierInfo/IdentifierTable.
- Add SelectorTable instance to ASTContext, created lazily through ASTContext::getSelectorInfo().
- Add SelectorInfo slot to ObjcMethodDecl.
- Add helper function to derive a SelectorInfo from ObjcKeywordInfo.

Misc: Got the Decl stats stuff up and running again...it was missing support for ObjC AST's.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42023 91177308-0d34-0410-b5e6-96231b3b80d8
AST/ASTContext.cpp
AST/Decl.cpp
Lex/IdentifierTable.cpp
Sema/SemaDecl.cpp
clang.xcodeproj/project.pbxproj
include/clang/AST/ASTContext.h
include/clang/AST/Decl.h
include/clang/Lex/IdentifierTable.h