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
49fb8870
Commit
49fb8870
authored
Oct 06, 2009
by
Roberto Raggi
Browse files
Check ctor-initializers.
parent
44f224ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/shared/cplusplus/CheckDeclaration.cpp
View file @
49fb8870
...
...
@@ -332,6 +332,13 @@ bool CheckDeclaration::visit(FunctionDefinitionAST *ast)
return
false
;
}
bool
CheckDeclaration
::
visit
(
MemInitializerAST
*
ast
)
{
(
void
)
semantic
()
->
check
(
ast
->
name
,
_scope
);
FullySpecifiedType
ty
=
semantic
()
->
check
(
ast
->
expression
,
_scope
);
return
false
;
}
bool
CheckDeclaration
::
visit
(
LinkageBodyAST
*
ast
)
{
for
(
DeclarationListAST
*
decl
=
ast
->
declarations
;
decl
;
decl
=
decl
->
next
)
{
...
...
src/shared/cplusplus/CheckDeclaration.h
View file @
49fb8870
...
...
@@ -90,6 +90,7 @@ protected:
virtual
bool
visit
(
TemplateTypeParameterAST
*
ast
);
virtual
bool
visit
(
UsingAST
*
ast
);
virtual
bool
visit
(
UsingDirectiveAST
*
ast
);
virtual
bool
visit
(
MemInitializerAST
*
ast
);
virtual
bool
visit
(
ObjCProtocolDeclarationAST
*
ast
);
virtual
bool
visit
(
ObjCProtocolForwardDeclarationAST
*
ast
);
...
...
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