Ignore remaining explicit warnings.
This CL ignores the remaining explicit warnings and enables the lint flag. Bug: dawn:1339 Change-Id: Idabc062c3d1a7ec563115dbfd600e80a908c856d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86873 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
This commit is contained in:
parent
6a3a04dd07
commit
3e0547df6c
|
@ -1,5 +1,4 @@
|
||||||
filter=-build/namespaces
|
filter=-build/namespaces
|
||||||
filter=-readability/casting
|
filter=-readability/casting
|
||||||
filter=-readability/todo
|
filter=-readability/todo
|
||||||
filter=-runtime/explicit
|
|
||||||
filter=-runtime/indentation_namespace
|
filter=-runtime/indentation_namespace
|
||||||
|
|
|
@ -44,6 +44,7 @@ class RefBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Constructors from nullptr.
|
// Constructors from nullptr.
|
||||||
|
// NOLINTNEXTLINE(runtime/explicit)
|
||||||
constexpr RefBase(std::nullptr_t) : RefBase() {
|
constexpr RefBase(std::nullptr_t) : RefBase() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,6 +54,7 @@ class RefBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Constructors from a value T.
|
// Constructors from a value T.
|
||||||
|
// NOLINTNEXTLINE(runtime/explicit)
|
||||||
RefBase(T value) : mValue(value) {
|
RefBase(T value) : mValue(value) {
|
||||||
Reference(value);
|
Reference(value);
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,6 +41,7 @@ namespace ityp {
|
||||||
constexpr array() = default;
|
constexpr array() = default;
|
||||||
|
|
||||||
template <typename... Values>
|
template <typename... Values>
|
||||||
|
// NOLINTNEXTLINE(runtime/explicit)
|
||||||
constexpr array(Values&&... values) : Base{std::forward<Values>(values)...} {
|
constexpr array(Values&&... values) : Base{std::forward<Values>(values)...} {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,6 +39,7 @@ namespace ityp {
|
||||||
constexpr bitset() noexcept : Base() {
|
constexpr bitset() noexcept : Base() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NOLINTNEXTLINE(runtime/explicit)
|
||||||
constexpr bitset(uint64_t value) noexcept : Base(value) {
|
constexpr bitset(uint64_t value) noexcept : Base(value) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue