From f4af76e796a57e453f3717cfdf40c8bcf132b62e Mon Sep 17 00:00:00 2001 From: Moritz Pflanzer Date: Wed, 6 Sep 2017 07:42:43 +0100 Subject: COMPMID-417: Fix clang tidy after renaming Change-Id: I3e327bcbb4719c493c45397243354289c3223945 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/86677 Reviewed-by: Anthony Barbier Tested-by: Kaizen --- src/runtime/NEON/INESimpleFunction.cpp | 5 +++-- src/runtime/NEON/functions/NECannyEdge.cpp | 15 +++++++++++++-- src/runtime/NEON/functions/NEDepthConcatenate.cpp | 9 ++++++--- src/runtime/NEON/functions/NEGaussianPyramid.cpp | 12 ++++++++---- src/runtime/NEON/functions/NEHOGGradient.cpp | 7 +++++-- src/runtime/NEON/functions/NEHOGMultiDetection.cpp | 18 +++++++++++++++--- src/runtime/NEON/functions/NEHarrisCorners.cpp | 16 ++++++++++++++-- src/runtime/NEON/functions/NELaplacianPyramid.cpp | 10 ++++++++-- src/runtime/NEON/functions/NELaplacianReconstruct.cpp | 7 +++++-- src/runtime/NEON/functions/NEOpticalFlow.cpp | 12 ++++++++++-- src/runtime/NEON/functions/NEScale.cpp | 6 ++++-- 11 files changed, 91 insertions(+), 26 deletions(-) (limited to 'src/runtime/NEON') diff --git a/src/runtime/NEON/INESimpleFunction.cpp b/src/runtime/NEON/INESimpleFunction.cpp index 6f0da85fc8..a748a1e4ad 100644 --- a/src/runtime/NEON/INESimpleFunction.cpp +++ b/src/runtime/NEON/INESimpleFunction.cpp @@ -27,8 +27,9 @@ using namespace arm_compute; -INESimpleFunction::INESimpleFunction() - : _kernel(), _border_handler() +INESimpleFunction::INESimpleFunction() // NOLINT + : _kernel(), + _border_handler() { } diff --git a/src/runtime/NEON/functions/NECannyEdge.cpp b/src/runtime/NEON/functions/NECannyEdge.cpp index 029d30c5d6..ca8877e2fc 100644 --- a/src/runtime/NEON/functions/NECannyEdge.cpp +++ b/src/runtime/NEON/functions/NECannyEdge.cpp @@ -41,8 +41,19 @@ using namespace arm_compute; -NECannyEdge::NECannyEdge() - : _sobel(), _gradient(), _non_max_suppr(), _edge_trace(), _border_mag_gradient(), _border_edge_trace(), _gx(), _gy(), _magnitude(), _phase(), _nonmax(), _output(nullptr) +NECannyEdge::NECannyEdge() // NOLINT + : _sobel(), + _gradient(), + _non_max_suppr(), + _edge_trace(), + _border_mag_gradient(), + _border_edge_trace(), + _gx(), + _gy(), + _magnitude(), + _phase(), + _nonmax(), + _output(nullptr) { } diff --git a/src/runtime/NEON/functions/NEDepthConcatenate.cpp b/src/runtime/NEON/functions/NEDepthConcatenate.cpp index c1025d203e..ddf7e90faa 100644 --- a/src/runtime/NEON/functions/NEDepthConcatenate.cpp +++ b/src/runtime/NEON/functions/NEDepthConcatenate.cpp @@ -32,12 +32,15 @@ using namespace arm_compute; -NEDepthConcatenate::NEDepthConcatenate() - : _inputs_vector(), _concat_kernels_vector(), _border_handlers_vector(), _num_inputs(0) +NEDepthConcatenate::NEDepthConcatenate() // NOLINT + : _inputs_vector(), + _concat_kernels_vector(), + _border_handlers_vector(), + _num_inputs(0) { } -void NEDepthConcatenate::configure(std::vector inputs_vector, ITensor *output) +void NEDepthConcatenate::configure(std::vector inputs_vector, ITensor *output) // NOLINT { ARM_COMPUTE_ERROR_ON(inputs_vector.size() < 2); diff --git a/src/runtime/NEON/functions/NEGaussianPyramid.cpp b/src/runtime/NEON/functions/NEGaussianPyramid.cpp index 75c439511e..e857aabd3b 100644 --- a/src/runtime/NEON/functions/NEGaussianPyramid.cpp +++ b/src/runtime/NEON/functions/NEGaussianPyramid.cpp @@ -46,8 +46,10 @@ NEGaussianPyramid::NEGaussianPyramid() { } -NEGaussianPyramidHalf::NEGaussianPyramidHalf() - : _border_handler(), _horizontal_reduction(), _vertical_reduction() +NEGaussianPyramidHalf::NEGaussianPyramidHalf() // NOLINT + : _border_handler(), + _horizontal_reduction(), + _vertical_reduction() { } @@ -113,8 +115,10 @@ void NEGaussianPyramidHalf::run() } } -NEGaussianPyramidOrb::NEGaussianPyramidOrb() - : _offsets(), _gaus5x5(), _scale_nearest() +NEGaussianPyramidOrb::NEGaussianPyramidOrb() // NOLINT + : _offsets(), + _gaus5x5(), + _scale_nearest() { } diff --git a/src/runtime/NEON/functions/NEHOGGradient.cpp b/src/runtime/NEON/functions/NEHOGGradient.cpp index 563d4c2640..3e2640d631 100644 --- a/src/runtime/NEON/functions/NEHOGGradient.cpp +++ b/src/runtime/NEON/functions/NEHOGGradient.cpp @@ -30,8 +30,11 @@ using namespace arm_compute; -NEHOGGradient::NEHOGGradient() - : _derivative(), _mag_phase(nullptr), _gx(), _gy() +NEHOGGradient::NEHOGGradient() // NOLINT + : _derivative(), + _mag_phase(nullptr), + _gx(), + _gy() { } diff --git a/src/runtime/NEON/functions/NEHOGMultiDetection.cpp b/src/runtime/NEON/functions/NEHOGMultiDetection.cpp index 635b793d0c..8b3d01423c 100644 --- a/src/runtime/NEON/functions/NEHOGMultiDetection.cpp +++ b/src/runtime/NEON/functions/NEHOGMultiDetection.cpp @@ -32,9 +32,21 @@ using namespace arm_compute; -NEHOGMultiDetection::NEHOGMultiDetection() - : _gradient_kernel(), _orient_bin_kernel(), _block_norm_kernel(), _hog_detect_kernel(), _non_maxima_kernel(), _hog_space(), _hog_norm_space(), _detection_windows(), _mag(), _phase(), - _non_maxima_suppression(false), _num_orient_bin_kernel(0), _num_block_norm_kernel(0), _num_hog_detect_kernel(0) +NEHOGMultiDetection::NEHOGMultiDetection() // NOLINT + : _gradient_kernel(), + _orient_bin_kernel(), + _block_norm_kernel(), + _hog_detect_kernel(), + _non_maxima_kernel(), + _hog_space(), + _hog_norm_space(), + _detection_windows(), + _mag(), + _phase(), + _non_maxima_suppression(false), + _num_orient_bin_kernel(0), + _num_block_norm_kernel(0), + _num_hog_detect_kernel(0) { } diff --git a/src/runtime/NEON/functions/NEHarrisCorners.cpp b/src/runtime/NEON/functions/NEHarrisCorners.cpp index 53b1968db2..24b2bcb5b3 100644 --- a/src/runtime/NEON/functions/NEHarrisCorners.cpp +++ b/src/runtime/NEON/functions/NEHarrisCorners.cpp @@ -41,8 +41,20 @@ using namespace arm_compute; -NEHarrisCorners::NEHarrisCorners() - : _sobel(), _harris_score(), _non_max_suppr(), _candidates(), _sort_euclidean(), _border_gx(), _border_gy(), _gx(), _gy(), _score(), _nonmax(), _corners_list(), _num_corner_candidates(0) +NEHarrisCorners::NEHarrisCorners() // NOLINT + : _sobel(), + _harris_score(), + _non_max_suppr(), + _candidates(), + _sort_euclidean(), + _border_gx(), + _border_gy(), + _gx(), + _gy(), + _score(), + _nonmax(), + _corners_list(), + _num_corner_candidates(0) { } diff --git a/src/runtime/NEON/functions/NELaplacianPyramid.cpp b/src/runtime/NEON/functions/NELaplacianPyramid.cpp index ec93759869..a680f1f11d 100644 --- a/src/runtime/NEON/functions/NELaplacianPyramid.cpp +++ b/src/runtime/NEON/functions/NELaplacianPyramid.cpp @@ -36,8 +36,14 @@ using namespace arm_compute; -NELaplacianPyramid::NELaplacianPyramid() - : _num_levels(0), _gaussian_pyr_function(), _convf(), _subf(), _gauss_pyr(), _conv_pyr(), _depth_function() +NELaplacianPyramid::NELaplacianPyramid() // NOLINT + : _num_levels(0), + _gaussian_pyr_function(), + _convf(), + _subf(), + _gauss_pyr(), + _conv_pyr(), + _depth_function() { } diff --git a/src/runtime/NEON/functions/NELaplacianReconstruct.cpp b/src/runtime/NEON/functions/NELaplacianReconstruct.cpp index 8366e2bfec..0893701cd5 100644 --- a/src/runtime/NEON/functions/NELaplacianReconstruct.cpp +++ b/src/runtime/NEON/functions/NELaplacianReconstruct.cpp @@ -34,8 +34,11 @@ using namespace arm_compute; -NELaplacianReconstruct::NELaplacianReconstruct() - : _tmp_pyr(), _addf(), _scalef(), _depthf() +NELaplacianReconstruct::NELaplacianReconstruct() // NOLINT + : _tmp_pyr(), + _addf(), + _scalef(), + _depthf() { } diff --git a/src/runtime/NEON/functions/NEOpticalFlow.cpp b/src/runtime/NEON/functions/NEOpticalFlow.cpp index d851e9a62b..3e69a33897 100644 --- a/src/runtime/NEON/functions/NEOpticalFlow.cpp +++ b/src/runtime/NEON/functions/NEOpticalFlow.cpp @@ -37,8 +37,16 @@ using namespace arm_compute; -NEOpticalFlow::NEOpticalFlow() - : _func_scharr(), _kernel_tracker(), _scharr_gx(), _scharr_gy(), _new_points(nullptr), _new_points_estimates(nullptr), _old_points(nullptr), _new_points_internal(), _old_points_internal(), +NEOpticalFlow::NEOpticalFlow() // NOLINT + : _func_scharr(), + _kernel_tracker(), + _scharr_gx(), + _scharr_gy(), + _new_points(nullptr), + _new_points_estimates(nullptr), + _old_points(nullptr), + _new_points_internal(), + _old_points_internal(), _num_levels(0) { } diff --git a/src/runtime/NEON/functions/NEScale.cpp b/src/runtime/NEON/functions/NEScale.cpp index 0a551e937d..7fc352ab1f 100644 --- a/src/runtime/NEON/functions/NEScale.cpp +++ b/src/runtime/NEON/functions/NEScale.cpp @@ -86,8 +86,10 @@ void precompute_dx_dy_offsets(ITensor *dx, ITensor *dy, ITensor *offsets, float } } // namespace -NEScale::NEScale() - : _offsets(), _dx(), _dy() +NEScale::NEScale() // NOLINT + : _offsets(), + _dx(), + _dy() { } -- cgit v1.2.1