зеркало из https://github.com/microsoft/clang.git
Update docs to remove reference to OverloadedFunctionDecl and replace it with DeclContext::lookup_result.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134514 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
85bea9777d
Коммит
d322429a1f
|
@ -1212,8 +1212,8 @@ void g();
|
|||
void g(int);
|
||||
</pre>
|
||||
<p>the <code>DeclContext::lookup</code> operation will return
|
||||
an <code>OverloadedFunctionDecl</code> that contains both
|
||||
declarations of "g". Clients that perform semantic analysis on a
|
||||
a <code>DeclContext::lookup_result</code> that contains a range of iterators
|
||||
over declarations of "g". Clients that perform semantic analysis on a
|
||||
program that is not concerned with the actual source code will
|
||||
primarily use this semantics-centric view.</p>
|
||||
|
||||
|
@ -1395,8 +1395,8 @@ namespace N {
|
|||
nodes in Snippet #1, each of which is a declaration context that
|
||||
contains a single declaration of "f". However, the semantics-centric
|
||||
view provided by name lookup into the namespace <code>N</code> for
|
||||
"f" will return an <code>OverloadedFunctionDecl</code> that contains
|
||||
both declarations of "f".</p>
|
||||
"f" will return a <code>DeclContext::lookup_result</code> that contains
|
||||
a range of iterators over declarations of "f".</p>
|
||||
|
||||
<p><code>DeclContext</code> manages multiply-defined declaration
|
||||
contexts internally. The
|
||||
|
|
Загрузка…
Ссылка в новой задаче