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
b81e3585
Commit
b81e3585
authored
Aug 16, 2010
by
Roberto Raggi
Browse files
Implemented ObjcMethod::argumentCount().
parent
08eb3a93
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/shared/cplusplus/Symbols.cpp
View file @
b81e3585
...
...
@@ -956,8 +956,10 @@ bool ObjCMethod::hasReturnType() const
unsigned
ObjCMethod
::
argumentCount
()
const
{
// ### port me
return
memberCount
();
const
unsigned
c
=
memberCount
();
if
(
c
>
0
&&
memberAt
(
c
-
1
)
->
isBlock
())
return
c
-
1
;
return
c
;
}
Symbol
*
ObjCMethod
::
argumentAt
(
unsigned
index
)
const
...
...
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