mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 21:47:47 +00:00
Fix legacy non-inclusive language issues
Explicitly filters out problematic files from presubmit with issues that are not under our control, i.e. URLs. BUG=tint:1433 Change-Id: I34a449c825edc39f934cbe9afa3436f7514f2808 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/80860 Auto-Submit: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
This commit is contained in:
committed by
Tint LUCI CQ
parent
c9735450c0
commit
555e94e7e3
@@ -144,13 +144,13 @@ extern "C" size_t LLVMFuzzerCustomMutator(uint8_t* data,
|
||||
std::vector<uint32_t> binary(size / sizeof(uint32_t));
|
||||
std::memcpy(binary.data(), data, size);
|
||||
|
||||
MutatorCache dummy_cache(1);
|
||||
MutatorCache placeholder_cache(1);
|
||||
auto* mutator_cache = context->mutator_cache.get();
|
||||
if (!mutator_cache) {
|
||||
// Use a placeholder cache if the user has decided not to use a real cache.
|
||||
// The placeholder cache will be destroyed when we return from this function
|
||||
// but it will save us from writing all the `if (mutator_cache)` below.
|
||||
mutator_cache = &dummy_cache;
|
||||
mutator_cache = &placeholder_cache;
|
||||
}
|
||||
|
||||
if (!mutator_cache->Get(binary)) {
|
||||
|
||||
Reference in New Issue
Block a user