mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-12 17:33:00 +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
@@ -71,7 +71,7 @@ struct BlitEnqueueTests : public ::testing::Test {
|
||||
};
|
||||
|
||||
template <typename FamilyType>
|
||||
void SetUpT() {
|
||||
void setUpT() {
|
||||
if (is32bit) {
|
||||
GTEST_SKIP();
|
||||
}
|
||||
@@ -111,7 +111,7 @@ struct BlitEnqueueTests : public ::testing::Test {
|
||||
}
|
||||
|
||||
template <typename FamilyType>
|
||||
void TearDownT() {}
|
||||
void tearDownT() {}
|
||||
|
||||
template <size_t N>
|
||||
void setMockKernelArgs(std::array<Buffer *, N> buffers) {
|
||||
@@ -1284,12 +1284,12 @@ struct BlitEnqueueFlushTests : public BlitEnqueueTests<1> {
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
void SetUpT() {
|
||||
void setUpT() {
|
||||
auto csrCreateFcn = &commandStreamReceiverFactory[IGFX_MAX_CORE + defaultHwInfo->platform.eRenderCoreFamily];
|
||||
variableBackup = std::make_unique<VariableBackup<CommandStreamReceiverCreateFunc>>(csrCreateFcn);
|
||||
*csrCreateFcn = MyUltCsr<T>::create;
|
||||
|
||||
BlitEnqueueTests<1>::SetUpT<T>();
|
||||
BlitEnqueueTests<1>::setUpT<T>();
|
||||
}
|
||||
|
||||
std::unique_ptr<VariableBackup<CommandStreamReceiverCreateFunc>> variableBackup;
|
||||
|
||||
Reference in New Issue
Block a user