Commit 3f9ab3a
authored
Added new bugprone-* and readability-* clang-tidy checks (#6363)
* Added readability-make-member-function-const fixes
* Implemented flagged bugprone-unhandled-self-assignment fixes
* Apply clang-tidy fixes for bugprone and readability checks
- Add self-assignment checks to 13 operator= methods (bugprone-unhandled-self-assignment)
- Add const qualifiers to 12 getter methods (readability-make-member-function-const)
- Remove unused RAII temporary in JointIterativeClosestPoint constructor (bugprone-unused-raii)
* Fixed clang-tidy escapes
* Fixed yet more clang-tidy escapes
* Reverted inadvertent reformatting
* Harmonized clang-tidy changes between header and source
* Standardized on most common return *this for self-assignment
* Reverted *this to (*this) in places that needed parentheses1 parent e5ce18f commit 3f9ab3a
File tree
63 files changed
+205
-154
lines changed- apps/point_cloud_editor
- include/pcl/apps/point_cloud_editor
- src
- common
- include/pcl
- common
- src
- cuda/common/include/pcl/cuda
- common
- features/src
- filters/include/pcl/filters
- geometry/include/pcl/geometry
- gpu/octree/src
- cuda
- utils
- io
- include/pcl/io
- openni2
- src
- openni2
- kdtree/include/pcl/kdtree
- keypoints/include/pcl/keypoints
- octree/include/pcl/octree
- impl
- outofcore/include/pcl/outofcore
- impl
- recognition/include/pcl/recognition
- impl
- ransac_based
- registration/include/pcl/registration
- sample_consensus/include/pcl/sample_consensus
- segmentation/include/pcl/segmentation
- simulation
- include/pcl/simulation
- src
- tools
- visualization
- include/pcl/visualization
- src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
63 files changed
+205
-154
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
| |||
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
68 | 74 | | |
69 | 75 | | |
70 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
0 commit comments