mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +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
|
||||
*
|
||||
@@ -74,13 +74,13 @@ struct DebugVarBase {
|
||||
T value;
|
||||
};
|
||||
|
||||
struct DebugVariables {
|
||||
struct DebugVariables { // NOLINT(clang-analyzer-optin.performance.Padding)
|
||||
struct DEBUGGER_LOG_BITMASK {
|
||||
constexpr static int32_t LOG_INFO{1};
|
||||
constexpr static int32_t LOG_ERROR{1 << 1};
|
||||
constexpr static int32_t LOG_THREADS{1 << 2};
|
||||
constexpr static int32_t LOG_MEM{1 << 3};
|
||||
constexpr static int32_t DUMP_ELF{1 << 10};
|
||||
constexpr static int32_t LOG_INFO{1}; // NOLINT(readability-identifier-naming)
|
||||
constexpr static int32_t LOG_ERROR{1 << 1}; // NOLINT(readability-identifier-naming)
|
||||
constexpr static int32_t LOG_THREADS{1 << 2}; // NOLINT(readability-identifier-naming)
|
||||
constexpr static int32_t LOG_MEM{1 << 3}; // NOLINT(readability-identifier-naming)
|
||||
constexpr static int32_t DUMP_ELF{1 << 10}; // NOLINT(readability-identifier-naming)
|
||||
};
|
||||
|
||||
#define DECLARE_DEBUG_VARIABLE(dataType, variableName, defaultValue, description) \
|
||||
|
||||
Reference in New Issue
Block a user