Skip to content

Commit d99cded

Browse files
committed
Fix: apply clang-format and remove invalid .clang-tidy file
1 parent f4bf4cf commit d99cded

6 files changed

Lines changed: 14 additions & 22 deletions

File tree

tasks/bruskova_v_image_smoothing/mpi/include/ops_mpi.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ class BruskovaVImageSmoothingMPI : public ppc::core::Task<InType, OutType> {
1717
bool RunImpl() override;
1818
bool PostProcessingImpl() override;
1919

20-
ppc::core::TaskType GetTaskType() const override { return ppc::core::TaskType::TASK; }
20+
ppc::core::TaskType GetTaskType() const override {
21+
return ppc::core::TaskType::TASK;
22+
}
2123

2224
private:
2325
std::vector<int> input_img_;
@@ -26,4 +28,4 @@ class BruskovaVImageSmoothingMPI : public ppc::core::Task<InType, OutType> {
2628
int height_ = 0;
2729
};
2830

29-
} // namespace bruskova_v_image_smoothing
31+
} // namespace bruskova_v_image_smoothing

tasks/bruskova_v_image_smoothing/mpi/src/ops_mpi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ class BruskovaVImageSmoothingMPI : public ppc::core::Task<InType, OutType> {
2828
int width_ = 0, height_ = 0;
2929
};
3030

31-
} // namespace bruskova_v_image_smoothing
31+
} // namespace bruskova_v_image_smoothing

tasks/bruskova_v_image_smoothing/seq/include/ops_seq.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ class BruskovaVImageSmoothingSEQ : public ppc::core::Task<InType, OutType> {
1717
bool RunImpl() override;
1818
bool PostProcessingImpl() override;
1919

20-
ppc::core::TaskType GetTaskType() const override { return ppc::core::TaskType::TASK; }
20+
ppc::core::TaskType GetTaskType() const override {
21+
return ppc::core::TaskType::TASK;
22+
}
2123

2224
private:
2325
std::vector<int> input_img_;
@@ -26,4 +28,4 @@ class BruskovaVImageSmoothingSEQ : public ppc::core::Task<InType, OutType> {
2628
int height_ = 0;
2729
};
2830

29-
} // namespace bruskova_v_image_smoothing
31+
} // namespace bruskova_v_image_smoothing

tasks/bruskova_v_image_smoothing/seq/src/ops_seq.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ bool BruskovaVImageSmoothingSEQ::PostProcessingImpl() {
3939
return true;
4040
}
4141

42-
} // namespace bruskova_v_image_smoothing
42+
} // namespace bruskova_v_image_smoothing

tasks/bruskova_v_image_smoothing/tests/.clang-tidy

Lines changed: 0 additions & 13 deletions
This file was deleted.

tasks/bruskova_v_image_smoothing/tests/functional/main.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#include <gtest/gtest.h>
2+
23
#include <array>
4+
#include <string>
35
#include <tuple>
46
#include <vector>
5-
#include <string>
67

78
#include "bruskova_v_image_smoothing/common/include/common.hpp"
89
#include "bruskova_v_image_smoothing/mpi/include/ops_mpi.hpp"
@@ -13,7 +14,7 @@ namespace bruskova_v_image_smoothing {
1314

1415
class BruskovaVImageSmoothingFuncTests : public ppc::util::BaseRunFuncTests<InType, OutType, TestType> {
1516
public:
16-
static std::string PrintTestParam(const TestType& test_param) {
17+
static std::string PrintTestParam(const TestType &test_param) {
1718
return std::to_string(std::get<0>(test_param));
1819
}
1920

@@ -22,7 +23,7 @@ class BruskovaVImageSmoothingFuncTests : public ppc::util::BaseRunFuncTests<InTy
2223
auto test_params = std::get<static_cast<std::size_t>(ppc::util::GTestParamIndex::kTestParams)>(GetParam());
2324
int size = std::get<0>(test_params);
2425
input_data_ = std::vector<int>(size, 128);
25-
expected_output_ = std::vector<int>(size, 128);
26+
expected_output_ = std::vector<int>(size, 128);
2627
}
2728

2829
bool CheckTestOutputData(OutType &output_data) final {

0 commit comments

Comments
 (0)