Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
llvm-epi-0.8
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Roger Ferrer
llvm-epi-0.8
Commits
68f0d31f
Commit
68f0d31f
authored
15 years ago
by
Mike Stump
Browse files
Options
Downloads
Patches
Plain Diff
Add walking bases in reverse order.
llvm-svn: 78578
parent
13234f83
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
clang/include/clang/AST/DeclCXX.h
+12
-0
12 additions, 0 deletions
clang/include/clang/AST/DeclCXX.h
with
12 additions
and
0 deletions
clang/include/clang/AST/DeclCXX.h
+
12
−
0
View file @
68f0d31f
...
...
@@ -424,6 +424,18 @@ public:
base_class_const_iterator
bases_begin
()
const
{
return
Bases
;
}
base_class_iterator
bases_end
()
{
return
Bases
+
NumBases
;
}
base_class_const_iterator
bases_end
()
const
{
return
Bases
+
NumBases
;
}
reverse_base_class_iterator
bases_rbegin
()
{
return
reverse_base_class_iterator
(
bases_end
());
}
reverse_base_class_const_iterator
bases_rbegin
()
const
{
return
reverse_base_class_const_iterator
(
bases_end
());
}
reverse_base_class_iterator
bases_rend
()
{
return
reverse_base_class_iterator
(
bases_begin
());
}
reverse_base_class_const_iterator
bases_rend
()
const
{
return
reverse_base_class_const_iterator
(
bases_begin
());
}
/// getNumVBases - Retrieves the number of virtual base classes of this
/// class.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment