aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/ChainedIncludesSource.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-01-25 00:49:42 +0000
committerDouglas Gregor <dgregor@apple.com>2012-01-25 00:49:42 +0000
commit5ac4b6917aa34fae6da64036539023a6155a3d48 (patch)
tree070f1eadaf9c1e1ae9b55c1a3419e9411bedd28c /include/clang/Frontend/ChainedIncludesSource.h
parent9d0064e802e81d0833e8ccab8978b17c0bac3625 (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 'include/clang/Frontend/ChainedIncludesSource.h')
-rw-r--r--include/clang/Frontend/ChainedIncludesSource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Frontend/ChainedIncludesSource.h b/include/clang/Frontend/ChainedIncludesSource.h
index 620dbdf40c..a08ecb3c99 100644
--- a/include/clang/Frontend/ChainedIncludesSource.h
+++ b/include/clang/Frontend/ChainedIncludesSource.h
@@ -66,7 +66,7 @@ protected:
virtual void InitializeSema(Sema &S);
virtual void ForgetSema();
- virtual std::pair<ObjCMethodList,ObjCMethodList> ReadMethodPool(Selector Sel);
+ virtual void ReadMethodPool(Selector Sel);
virtual bool LookupUnqualified(LookupResult &R, Scope *S);
};