summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/MethodPoolBSub.h
Commit message (Collapse)AuthorAgeFilesLines
* When building a module, keep *all* declared methods in the global method pool.Douglas Gregor2013-06-211-0/+1
| | | | | | | | | | | | | | | | | As an optimization, we only kept declared methods with distinct signatures in the global method pool, to keep the method lists small. Under modules, however, one could have two different methods with the same signature that occur in different (sub)modules. If only the later submodule is important, message sends to 'id' with that selector would fail because the first method (the only one that got into the method pool) was hidden. When building a module, keep *all* of the declared methods. I did a quick check of both module build time and uses of modules, and found no performance regression despite this causing us to keep more methods in the global method pool. Fixes <rdar://problem/14148896>. llvm-svn: 184504
* Retain all hidden methods in the global method pool, because they may become ↵Douglas Gregor2013-02-071-0/+1
| | | | | | visible <rdar://problem/13172858>. llvm-svn: 174648
* Teach global selector lookup to ignore hidden methods, which occurDouglas Gregor2013-01-161-0/+3
when the methods are declared in a submodule that has not yet been imported. Part of <rdar://problem/10634711>. llvm-svn: 172635
OpenPOWER on IntegriCloud