mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
clang-tidy configuration cleanup
Define single .clang-tidy configuration with all used checks and use NOLINT to selectively silence tool. That way cleanup should be easier. third_part/ has its own configuration that disables clang-tidy for this folder. Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
910871a706
commit
e9be9b64c6
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2021 Intel Corporation
|
||||
* Copyright (C) 2018-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -412,7 +412,7 @@ struct EnqueueReadBufferHelper {
|
||||
const cl_event *eventWaitList = Traits::eventWaitList,
|
||||
cl_event *event = Traits::event) {
|
||||
|
||||
size = size == static_cast<size_t>(-1) ? buffer->getSize() : size;
|
||||
size = size == static_cast<size_t>(-1) ? buffer->getSize() : size; // NOLINT(clang-analyzer-core.CallAndMessage)
|
||||
|
||||
cl_int retVal = pCmdQ->enqueueReadBuffer(buffer,
|
||||
blockingRead,
|
||||
@@ -518,7 +518,7 @@ struct EnqueueWriteBufferHelper {
|
||||
const cl_event *eventWaitList = Traits::eventWaitList,
|
||||
cl_event *event = Traits::event) {
|
||||
|
||||
size = size == static_cast<size_t>(-1) ? buffer->getSize() : size;
|
||||
size = size == static_cast<size_t>(-1) ? buffer->getSize() : size; // NOLINT(clang-analyzer-core.CallAndMessage)
|
||||
|
||||
cl_int retVal = pCmdQ->enqueueWriteBuffer(buffer,
|
||||
blockingWrite,
|
||||
|
||||
Reference in New Issue
Block a user