Skip to content

Commit

Permalink
Add missing sanitizer suppression to rotl
Browse files Browse the repository at this point in the history
  • Loading branch information
martinus committed Jun 1, 2021
1 parent 6df3a06 commit 2d6158a
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/CODE_OF_CONDUCT.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@


<div class="version">
v4.3.3
v4.3.4
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/comparison.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@


<div class="version">
v4.3.3
v4.3.4
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@


<div class="version">
v4.3.3
v4.3.4
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@


<div class="version">
v4.3.3
v4.3.4
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/license.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@


<div class="version">
v4.3.3
v4.3.4
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@


<div class="version">
v4.3.3
v4.3.4
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@


<div class="version">
v4.3.3
v4.3.4
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@


<div class="version">
v4.3.3
v4.3.4
</div>


Expand Down
2 changes: 1 addition & 1 deletion src/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
project = 'nanobench'
copyright = '2019-2021 Martin Ankerl <[email protected]>'
author = 'Martin Ankerl'
version = 'v4.3.3'
version = 'v4.3.4'

# -- General configuration ---------------------------------------------------

Expand Down
3 changes: 2 additions & 1 deletion src/include/nanobench.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
// see https://semver.org/
#define ANKERL_NANOBENCH_VERSION_MAJOR 4 // incompatible API changes
#define ANKERL_NANOBENCH_VERSION_MINOR 3 // backwards-compatible changes
#define ANKERL_NANOBENCH_VERSION_PATCH 3 // backwards-compatible bug fixes
#define ANKERL_NANOBENCH_VERSION_PATCH 4 // backwards-compatible bug fixes

///////////////////////////////////////////////////////////////////////////////////////////////////
// public facing api - as minimal as possible
Expand Down Expand Up @@ -1149,6 +1149,7 @@ void Rng::shuffle(Container& container) noexcept {
}
}

ANKERL_NANOBENCH_NO_SANITIZE("integer", "undefined")
constexpr uint64_t Rng::rotl(uint64_t x, unsigned k) noexcept {
return (x << k) | (x >> (64U - k));
}
Expand Down

0 comments on commit 2d6158a

Please sign in to comment.