Intermittent clang-tidy dist/include/mozilla/Atomics.h:534:3: error: bad implicit conversion operator for 'Atomic<bool, mozilla::SequentiallyConsistent, mozilla::recordreplay::Behavior::DontPreserve, void>' [mozilla-explicit-operator-bool]
Categories
(Firefox Build System :: General, defect, P5)
Tracking
(Not tracked)
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure, regression)
#[markdown(off)]
Filed by: apavel [at] mozilla.com
https://treeherder.mozilla.org/logviewer.html#?job_id=237012720&repo=mozilla-inbound
[task 2019-03-29T22:25:20.810Z] Warning: modernize-use-equals-delete in /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/mozilla/Atomics.h: deleted member function should be public
[task 2019-03-29T22:25:20.810Z] /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/mozilla/Atomics.h:505:3: warning: deleted member function should be public [modernize-use-equals-delete]
[task 2019-03-29T22:25:20.811Z] Atomic(Atomic& aOther) = delete;
[task 2019-03-29T22:25:20.812Z] ^
[task 2019-03-29T22:25:20.813Z] /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/mozilla/Atomics.h:534:3: error: bad implicit conversion operator for 'Atomic<bool, mozilla::SequentiallyConsistent, mozilla::recordreplay::Behavior::DontPreserve, void>' [mozilla-explicit-operator-bool]
[task 2019-03-29T22:25:20.813Z] MOZ_IMPLICIT operator bool() const {
[task 2019-03-29T22:25:20.814Z] ^
[task 2019-03-29T22:25:20.815Z] /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/mozilla/Attributes.h:777:26: note: expanded from macro 'MOZ_IMPLICIT'
[task 2019-03-29T22:25:20.815Z] # define MOZ_IMPLICIT __attribute__((annotate("moz_implicit")))
[task 2019-03-29T22:25:20.816Z] ^
[task 2019-03-29T22:25:20.817Z] /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/mozilla/Atomics.h:534:3: note: consider adding the explicit keyword to 'operator bool'
[task 2019-03-29T22:25:20.817Z] MOZ_IMPLICIT operator bool() const {
[task 2019-03-29T22:25:20.818Z] ^
[task 2019-03-29T22:25:20.819Z] /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/mozilla/Attributes.h:777:26: note: expanded from macro 'MOZ_IMPLICIT'
[task 2019-03-29T22:25:20.819Z] # define MOZ_IMPLICIT __attribute__((annotate("moz_implicit")))
[task 2019-03-29T22:25:20.820Z] ^
[task 2019-03-29T22:25:20.821Z] Warning: modernize-use-equals-delete in /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/mozilla/Atomics.h: deleted member function should be public
[task 2019-03-29T22:25:20.821Z] /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/dist/include/mozilla/Atomics.h:547:3: warning: deleted member function should be public [modernize-use-equals-delete]
[task 2019-03-29T22:25:20.822Z] Atomic(Atomic& aOther) = delete;
Comment hidden (Intermittent Failures Robot) |
Comment 2•6 years ago
|
||
Description
•