Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
revamb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
revng-bar-2019
revamb
Commits
bbd34712
Commit
bbd34712
authored
7 years ago
by
Alessandro Di Federico
Browse files
Options
Downloads
Patches
Plain Diff
Suppress signedness comparison warnings in tests
parent
2f55d4ba
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/Unit/lazysmallbitvector.cpp
+1
-1
1 addition, 1 deletion
tests/Unit/lazysmallbitvector.cpp
tests/Unit/stackanalysis.cpp
+1
-1
1 addition, 1 deletion
tests/Unit/stackanalysis.cpp
with
2 additions
and
2 deletions
tests/Unit/lazysmallbitvector.cpp
+
1
−
1
View file @
bbd34712
...
@@ -34,7 +34,7 @@ BOOST_AUTO_TEST_CASE(TestSetAndRead) {
...
@@ -34,7 +34,7 @@ BOOST_AUTO_TEST_CASE(TestSetAndRead) {
// Test small
// Test small
BitVector
.
set
(
0
);
BitVector
.
set
(
0
);
BOOST_TEST
(
BitVector
.
requiredBits
()
==
1
);
BOOST_TEST
(
BitVector
.
requiredBits
()
==
1
U
);
BOOST_TEST
(
BitVector
[
0
]
==
true
);
BOOST_TEST
(
BitVector
[
0
]
==
true
);
BOOST_TEST
(
BitVector
[
1
]
==
false
);
BOOST_TEST
(
BitVector
[
1
]
==
false
);
BOOST_TEST
(
BitVector
[
1000
]
==
false
);
BOOST_TEST
(
BitVector
[
1000
]
==
false
);
...
...
This diff is collapsed.
Click to expand it.
tests/Unit/stackanalysis.cpp
+
1
−
1
View file @
bbd34712
...
@@ -170,5 +170,5 @@ BOOST_AUTO_TEST_CASE(TestASSlot) {
...
@@ -170,5 +170,5 @@ BOOST_AUTO_TEST_CASE(TestASSlot) {
// Test usage in a map
// Test usage in a map
std
::
map
<
ASSlot
,
int
>
Map
;
std
::
map
<
ASSlot
,
int
>
Map
;
Map
[
SP1Slot
]
=
0
;
Map
[
SP1Slot
]
=
0
;
BOOST_TEST
(
Map
.
count
(
SP1Slot
)
!=
0
);
BOOST_TEST
(
Map
.
count
(
SP1Slot
)
!=
0
U
);
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment