forked from OSchip/llvm-project
Update docs to remove reference to OverloadedFunctionDecl and replace it with DeclContext::lookup_result.
llvm-svn: 134514
This commit is contained in:
parent
e790a8dac9
commit
3b1da3604f
|
|
@ -1212,8 +1212,8 @@ void g();
|
||||||
void g(int);
|
void g(int);
|
||||||
</pre>
|
</pre>
|
||||||
<p>the <code>DeclContext::lookup</code> operation will return
|
<p>the <code>DeclContext::lookup</code> operation will return
|
||||||
an <code>OverloadedFunctionDecl</code> that contains both
|
a <code>DeclContext::lookup_result</code> that contains a range of iterators
|
||||||
declarations of "g". Clients that perform semantic analysis on a
|
over declarations of "g". Clients that perform semantic analysis on a
|
||||||
program that is not concerned with the actual source code will
|
program that is not concerned with the actual source code will
|
||||||
primarily use this semantics-centric view.</p>
|
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
|
nodes in Snippet #1, each of which is a declaration context that
|
||||||
contains a single declaration of "f". However, the semantics-centric
|
contains a single declaration of "f". However, the semantics-centric
|
||||||
view provided by name lookup into the namespace <code>N</code> for
|
view provided by name lookup into the namespace <code>N</code> for
|
||||||
"f" will return an <code>OverloadedFunctionDecl</code> that contains
|
"f" will return a <code>DeclContext::lookup_result</code> that contains
|
||||||
both declarations of "f".</p>
|
a range of iterators over declarations of "f".</p>
|
||||||
|
|
||||||
<p><code>DeclContext</code> manages multiply-defined declaration
|
<p><code>DeclContext</code> manages multiply-defined declaration
|
||||||
contexts internally. The
|
contexts internally. The
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue