Skip to content

Commit b756b9b

Browse files
committed
Revert "Address review comments, run clang-format on whitelist"
This reverts commit 60a7ee4.
1 parent 60a7ee4 commit b756b9b

File tree

27 files changed

+58
-59
lines changed

27 files changed

+58
-59
lines changed

.clang-tidy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ Checks: >
5353
readability-simplify-subscript-expr,
5454
WarningsAsErrors: '*'
5555
CheckOptions:
56-
- {key: modernize-use-auto.MinTypeNameLength, value: 7}
56+
- {key: modernize-use-auto.MinTypeNameLength, value: 7}
5757
UseColor: true

.github/workflows/clang-tidy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ jobs:
2020
-DBUILD_surface_on_nurbs=ON \
2121
-DBUILD_simulation=ON \
2222
-DBUILD_global_tests=ON
23-
23+
2424
run-clang-tidy -header-filter='.*'

2d/include/pcl/2d/convolution.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ struct EIGEN_ALIGN16 PointXYZIEdge {
5353
float magnitude_x;
5454
float magnitude_y;
5555
PCL_MAKE_ALIGNED_OPERATOR_NEW // make sure our new allocators are aligned
56-
}; // enforce SSE padding for correct memory alignment
56+
}; // enforce SSE padding for correct memory alignment
5757

5858
/// A 2D convolution class.
5959
template <typename PointT>

geometry/include/pcl/geometry/mesh_indices.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ class MeshIndex
160160
/** \brief Stored index. */
161161
int index_;
162162

163-
friend std::istream& operator>> <>(std::istream& is, MeshIndex<IndexTagT>& index);
163+
friend std::istream&
164+
operator>><>(std::istream& is, MeshIndex<IndexTagT>& index);
164165
};
165166

166167
/** \brief ostream operator. */

gpu/containers/include/pcl/gpu/containers/kernel_containers.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,7 @@ struct DevPtr {
6767

6868
__PCL_GPU_HOST_DEVICE__
6969
operator T*() { return data; }
70-
__PCL_GPU_HOST_DEVICE__
71-
operator const T*() const
72-
{
73-
return data;
74-
}
70+
__PCL_GPU_HOST_DEVICE__ operator const T*() const { return data; }
7571
};
7672

7773
template <typename T>

gpu/containers/src/initialization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
#if !defined(HAVE_CUDA)
4646
#define HAVE_CUDA
4747
#endif
48-
// #include <pcl_config.h>
48+
//#include <pcl_config.h>
4949

5050
#if !defined(HAVE_CUDA)
5151

ml/include/pcl/ml/impl/kmeans.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@
4141

4242
#include <pcl/ml/kmeans.h>
4343

44-
// #include <pcl/common/io.h>
44+
//#include <pcl/common/io.h>
4545

46-
// #include <stdio.h>
47-
// #include <stdlib.h>
48-
// #include <time.h>
46+
//#include <stdio.h>
47+
//#include <stdlib.h>
48+
//#include <time.h>
4949

5050
namespace pcl {
5151
template <typename PointT>

ml/include/pcl/ml/svm_wrapper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class SVM {
136136

137137
/** Set for output printings during classification. */
138138
static void
139-
printNull(const char*) {};
139+
printNull(const char*){};
140140

141141
/** To read a line from the input file. Stored in "line_". */
142142
char*

octree/include/pcl/octree/octree2buf_base.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ class Octree2BufBase {
330330
Octree2BufBase(const Octree2BufBase& source)
331331
: leaf_count_(source.leaf_count_)
332332
, branch_count_(source.branch_count_)
333-
, root_node_(new(BranchNode)(*(source.root_node_)))
333+
, root_node_(new (BranchNode)(*(source.root_node_)))
334334
, depth_mask_(source.depth_mask_)
335335
, max_key_(source.max_key_)
336336
, buffer_selector_(source.buffer_selector_)

octree/include/pcl/octree/octree_base.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ class OctreeBase {
317317
OctreeBase(const OctreeBase& source)
318318
: leaf_count_(source.leaf_count_)
319319
, branch_count_(source.branch_count_)
320-
, root_node_(new(BranchNode)(*(source.root_node_)))
320+
, root_node_(new (BranchNode)(*(source.root_node_)))
321321
, depth_mask_(source.depth_mask_)
322322
, octree_depth_(source.octree_depth_)
323323
, dynamic_depth_enabled_(source.dynamic_depth_enabled_)

0 commit comments

Comments
 (0)