Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
llvm-epi
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
Show more breadcrumbs
Roger Ferrer
llvm-epi
Commits
acc4903b
Commit
acc4903b
authored
17 years ago
by
Ted Kremenek
Browse files
Options
Downloads
Patches
Plain Diff
Implemented child_begin/child_end for our current set of C++ expressions.
llvm-svn: 41368
parent
23702b6a
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/ExprCXX.h
+8
-0
8 additions, 0 deletions
clang/include/clang/AST/ExprCXX.h
with
8 additions
and
0 deletions
clang/include/clang/AST/ExprCXX.h
+
8
−
0
View file @
acc4903b
...
...
@@ -66,6 +66,10 @@ namespace clang {
return
T
->
getStmtClass
()
==
CXXCastExprClass
;
}
static
bool
classof
(
const
CXXCastExpr
*
)
{
return
true
;
}
// Iterators
virtual
child_iterator
child_begin
();
virtual
child_iterator
child_end
();
};
/// CXXBoolLiteralExpr - [C++ 2.13.5] C++ Boolean Literal.
...
...
@@ -85,6 +89,10 @@ namespace clang {
return
T
->
getStmtClass
()
==
CXXBoolLiteralExprClass
;
}
static
bool
classof
(
const
CXXBoolLiteralExpr
*
)
{
return
true
;
}
// Iterators
virtual
child_iterator
child_begin
();
virtual
child_iterator
child_end
();
};
}
// end namespace clang
...
...
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