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
6226cfe1
Commit
6226cfe1
authored
Aug 02, 2010
by
Roberto Raggi
Browse files
Compile.
parent
dd6966b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/tools/cplusplus/generate-ast.cpp
View file @
6226cfe1
...
...
@@ -1112,10 +1112,8 @@ void generateAST_cpp(const Snapshot &snapshot, const QDir &cplusplusDir)
for
(
DeclarationListAST
*
iter
=
xUnit
->
declaration_list
;
iter
;
iter
=
iter
->
next
)
{
if
(
FunctionDefinitionAST
*
funDef
=
iter
->
value
->
asFunctionDefinition
())
{
if
(
const
QualifiedNameId
*
qName
=
funDef
->
symbol
->
name
()
->
asQualifiedNameId
())
{
if
(
qName
->
nameCount
()
!=
2
)
continue
;
const
QString
className
=
oo
(
qName
->
nameAt
(
0
));
const
QString
methodName
=
oo
(
qName
->
nameAt
(
1
));
const
QString
className
=
oo
(
qName
->
base
());
const
QString
methodName
=
oo
(
qName
->
name
());
QTextCursor
cursor
(
&
cpp_document
);
...
...
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