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
Tobias Hunger
qt-creator
Commits
b4c8c021
Commit
b4c8c021
authored
Aug 27, 2010
by
Roberto Raggi
Browse files
Fixed warning when passing the declaringClass.
parent
7b51b119
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/shared/cplusplus/Parser.cpp
View file @
b4c8c021
...
...
@@ -3008,7 +3008,7 @@ bool Parser::parseCondition(ExpressionAST *&node)
SpecifierListAST
*
type_specifier
=
0
;
if
(
parseTypeSpecifier
(
type_specifier
))
{
DeclaratorAST
*
declarator
=
0
;
if
(
parseInitDeclarator
(
declarator
,
type_specifier
,
/*declaringClass=*/
false
))
{
if
(
parseInitDeclarator
(
declarator
,
type_specifier
,
/*declaringClass=*/
0
))
{
if
(
declarator
->
initializer
&&
declarator
->
equal_token
)
{
ConditionAST
*
ast
=
new
(
_pool
)
ConditionAST
;
ast
->
type_specifier_list
=
type_specifier
;
...
...
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