Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
8e39b368
Commit
8e39b368
authored
Jan 12, 2009
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweak comment
From-SVN: r143321
parent
b9f673eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
gcc/cp/name-lookup.c
+6
-2
No files found.
gcc/cp/name-lookup.c
View file @
8e39b368
...
@@ -4043,8 +4043,12 @@ outer_binding (tree name,
...
@@ -4043,8 +4043,12 @@ outer_binding (tree name,
return
class_binding
;
return
class_binding
;
}
}
}
}
/* If SCOPE is a template and if NAME binds to one of its template parameters
/* If we are in a member template, the template parms of the member
return the binding, otherwise we might miss it. */
template are considered to be inside the scope of the containing
class, but within G++ the class bindings are all pushed between the
template parms and the function body. So if the outer binding is
a template parm for the current scope, return it now rather than
look for a class binding. */
if
(
outer_scope
&&
outer_scope
->
kind
==
sk_template_parms
if
(
outer_scope
&&
outer_scope
->
kind
==
sk_template_parms
&&
binding_to_template_parms_of_scope_p
(
outer
,
scope
))
&&
binding_to_template_parms_of_scope_p
(
outer
,
scope
))
return
outer
;
return
outer
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment