diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-01-25 00:49:42 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-01-25 00:49:42 +0000 |
commit | 5ac4b6917aa34fae6da64036539023a6155a3d48 (patch) | |
tree | 070f1eadaf9c1e1ae9b55c1a3419e9411bedd28c /lib/Sema/Sema.cpp | |
parent | 9d0064e802e81d0833e8ccab8978b17c0bac3625 (diff) |
Rework the external Sema source's ReadMethodPool() so that it doesn't
return pre-built lists. Instead, it feeds the methods it deserializes
to Sema so that Sema can unique them, which keeps the chains shorter.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148889 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.cpp')
-rw-r--r-- | lib/Sema/Sema.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Sema/Sema.cpp b/lib/Sema/Sema.cpp index 28f90241d6..42c7897743 100644 --- a/lib/Sema/Sema.cpp +++ b/lib/Sema/Sema.cpp @@ -879,10 +879,7 @@ LambdaScopeInfo *Sema::getCurLambda() { // Pin this vtable to this file. ExternalSemaSource::~ExternalSemaSource() {} -std::pair<ObjCMethodList, ObjCMethodList> -ExternalSemaSource::ReadMethodPool(Selector Sel) { - return std::pair<ObjCMethodList, ObjCMethodList>(); -} +void ExternalSemaSource::ReadMethodPool(Selector Sel) { } void ExternalSemaSource::ReadKnownNamespaces( SmallVectorImpl<NamespaceDecl *> &Namespaces) { |