Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
11443b32
Commit
11443b32
authored
Jun 23, 2010
by
Erik Verbruggen
Browse files
Regenerated firstToken/lastToken methods.
parent
56769bb6
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
src/shared/cplusplus/AST.cpp
View file @
11443b32
This diff is collapsed.
Click to expand it.
src/shared/cplusplus/ASTClone.cpp
View file @
11443b32
...
...
@@ -1612,6 +1612,7 @@ LambdaIntroducerAST *LambdaIntroducerAST::clone(MemoryPool *pool) const
LambdaCaptureAST
*
LambdaCaptureAST
::
clone
(
MemoryPool
*
pool
)
const
{
LambdaCaptureAST
*
ast
=
new
(
pool
)
LambdaCaptureAST
;
ast
->
default_capture_token
=
default_capture_token
;
for
(
CaptureListAST
*
iter
=
capture_list
,
**
ast_iter
=
&
ast
->
capture_list
;
iter
;
iter
=
iter
->
next
,
ast_iter
=
&
(
*
ast_iter
)
->
next
)
*
ast_iter
=
new
(
pool
)
CaptureListAST
((
iter
->
value
)
?
iter
->
value
->
clone
(
pool
)
:
0
);
...
...
src/shared/cplusplus/ASTMatcher.cpp
View file @
11443b32
...
...
@@ -2725,6 +2725,8 @@ bool ASTMatcher::match(LambdaCaptureAST *node, LambdaCaptureAST *pattern)
(
void
)
node
;
(
void
)
pattern
;
pattern
->
default_capture_token
=
node
->
default_capture_token
;
if
(
!
pattern
->
capture_list
)
pattern
->
capture_list
=
node
->
capture_list
;
else
if
(
!
AST
::
match
(
node
->
capture_list
,
pattern
->
capture_list
,
this
))
...
...
Write
Preview
Supports
Markdown
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