mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +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
@ -1502,7 +1502,7 @@ TEST(CommandQueueDestructorTest, whenCommandQueueIsDestroyedThenDestroysTimestam
|
||||
queue.timestampPacketContainer.reset(new MockTimestampPacketContainer(*context));
|
||||
EXPECT_EQ(2, context->getRefInternalCount());
|
||||
context->release();
|
||||
EXPECT_EQ(1, context->getRefInternalCount());
|
||||
EXPECT_EQ(1, context->getRefInternalCount()); // NOLINT(clang-analyzer-cplusplus.NewDelete)
|
||||
}
|
||||
|
||||
TEST(CommandQueuePropertiesTests, whenGetEngineIsCalledThenQueueEngineIsReturned) {
|
||||
|
Reference in New Issue
Block a user