diff options
author | Steve Naroff <snaroff@apple.com> | 2007-10-14 00:58:41 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2007-10-14 00:58:41 +0000 |
commit | 58ff9e8f06a88b74c093d67983c9a1808da1001c (patch) | |
tree | dac17796f67c9a6df233c3cd0fc417bf4bfc1dbb /Basic/SourceManager.cpp | |
parent | 23af9f21283427d3e9b66cdccb711e2006028c8e (diff) |
- Added Sema::AddFactoryMethodToGlobalPool and Sema::AddInstanceMethodToGlobalPool and DenseMaps. This will allow us to efficiently lookup a method from a selector given no type information (for the "id" data type).
- Fixed some funky "}
else {" indentation in Sema::ActOnAddMethodsToObjcDecl(). I'd prefer we stay away from this style...it wastes space and isn't any easier to read (from my perspective, at least:-)
- Changed Parser::ParseObjCInterfaceDeclList() to only call Action::ActOnAddMethodsToObjcDecl() when it actually has methods to add (since most interface have methods, this is a very minor cleanup).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42957 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions