[cfe-commits] r69996 - /cfe/trunk/lib/Sema/SemaDeclObjC.cpp
Douglas Gregor
dgregor at apple.com
Fri Apr 24 15:23:41 PDT 2009
Author: dgregor
Date: Fri Apr 24 17:23:41 2009
New Revision: 69996
URL: http://llvm.org/viewvc/llvm-project?rev=69996&view=rev
Log:
Fix a pasto in the lookup of instance methods in the global pool
Modified:
cfe/trunk/lib/Sema/SemaDeclObjC.cpp
Modified: cfe/trunk/lib/Sema/SemaDeclObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclObjC.cpp?rev=69996&r1=69995&r2=69996&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclObjC.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclObjC.cpp Fri Apr 24 17:23:41 2009
@@ -1155,8 +1155,8 @@
SourceRange R) {
llvm::DenseMap<Selector, ObjCMethodList>::iterator Pos
= InstanceMethodPool.find(Sel);
- if (Pos == InstanceMethodPool.end() && !FactoryMethodPool.count(Sel)) {
- if (ExternalSource)
+ if (Pos == InstanceMethodPool.end()) {
+ if (ExternalSource && !FactoryMethodPool.count(Sel))
Pos = ReadMethodPool(Sel, /*isInstance=*/true);
else
return 0;
More information about the cfe-commits
mailing list