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
702e078a
Commit
702e078a
authored
Dec 30, 2008
by
Roberto Raggi
Browse files
oops! update errorCount after the semantic pass.
parent
2377567f
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/auto/cplusplus/semantic/tst_semantic.cpp
View file @
702e078a
...
...
@@ -85,8 +85,8 @@ public:
diag
.
errorCount
=
0
;
// reset the error count.
TranslationUnit
*
unit
=
parse
(
source
,
TranslationUnit
::
ParseTranlationUnit
);
QSharedPointer
<
Document
>
doc
(
new
Document
(
unit
));
doc
->
errorCount
=
diag
.
errorCount
;
doc
->
check
();
doc
->
errorCount
=
diag
.
errorCount
;
return
doc
;
}
...
...
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