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
ae5db839
Commit
ae5db839
authored
Aug 13, 2010
by
Roberto Raggi
Browse files
Compile
parent
0540aa36
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/auto/cplusplus/codegen/tst_codegen.cpp
View file @
ae5db839
...
...
@@ -6,7 +6,7 @@
#include <Scope.h>
#include <TranslationUnit.h>
#include <Literals.h>
#include <
Semantic
.h>
#include <
Bind
.h>
#include <Symbols.h>
#include <QtTest>
...
...
tests/auto/cplusplus/semantic/tst_semantic.cpp
View file @
ae5db839
...
...
@@ -8,7 +8,7 @@
#include <Parser.h>
#include <AST.h>
#include <ASTVisitor.h>
#include <
Semantic
.h>
#include <
Bind
.h>
#include <Scope.h>
#include <Symbols.h>
#include <CoreTypes.h>
...
...
@@ -62,16 +62,14 @@ public:
{
QVERIFY
(
unit
);
QVERIFY
(
unit
->
ast
());
Semantic
sem
(
unit
);
Bind
bind
(
unit
);
TranslationUnitAST
*
ast
=
unit
->
ast
()
->
asTranslationUnit
();
QVERIFY
(
ast
);
for
(
DeclarationListAST
*
decl
=
ast
->
declaration_list
;
decl
;
decl
=
decl
->
next
)
{
sem
.
check
(
decl
->
value
,
globals
);
}
bind
(
ast
,
globals
);
}
TranslationUnit
*
unit
;
Scop
e
*
globals
;
Namespac
e
*
globals
;
unsigned
errorCount
;
};
...
...
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