Skip to content
GitLab
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
29354ff1
Commit
29354ff1
authored
Aug 16, 2010
by
Roberto Raggi
Browse files
Detect pure virtual methods.
parent
e81c5186
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/shared/cplusplus/Bind.cpp
View file @
29354ff1
...
...
@@ -1734,6 +1734,9 @@ bool Bind::visit(SimpleDeclarationAST *ast)
if
(
Function
*
funTy
=
decl
->
type
()
->
asFunctionType
())
{
funTy
->
setMethodKey
(
_methodKey
);
if
(
funTy
->
isVirtual
()
&&
it
->
value
->
equals_token
)
funTy
->
setPureVirtual
(
true
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment