11// suppress Key related errors
2- noExplicitConstructor:*include/vsg/core/ref_ptr.h
3- noExplicitConstructor:*include/vsg/core/Inherit.h:31
4- noExplicitConstructor:*include/vsg/core/Allocator.h:138
5- noExplicitConstructor:*include/vsg/io/Path.h
2+ noExplicitConstructor:*/ include/vsg/core/ref_ptr.h
3+ noExplicitConstructor:*/ include/vsg/core/Inherit.h:31
4+ noExplicitConstructor:*/ include/vsg/core/Allocator.h:138
5+ noExplicitConstructor:*/ include/vsg/io/Path.h
66
77// suppress correct casts flagged as issues
88invalidPointerCast:*/include/vsg/core/Data.h
@@ -18,6 +18,7 @@ useStlAlgorithm:*/include/vsg/core/Value.h
1818useStlAlgorithm:*/include/vsg/core/Array.h
1919useStlAlgorithm:*/include/vsg/core/Array2D.h
2020useStlAlgorithm:*/include/vsg/core/Array3D.h
21+ useStlAlgorithm:*/include/vsg/threading/DeleteQueue.h
2122useStlAlgorithm:*/include/vsg/vk/vk_buffer.h
2223useStlAlgorithm:*/include/vsg/utils/CommandLine.h
2324useStlAlgorithm:*/src/vsg/nodes/VertexDraw.cpp
@@ -55,63 +56,84 @@ useStlAlgorithm:*/src/vsg/utils/ShaderSet.cpp
5556useStlAlgorithm:*/src/vsg/utils/ShaderCompiler.cpp
5657useStlAlgorithm:*/src/vsg/utils/GraphicsPipelineConfigurator.cpp
5758useStlAlgorithm:*/src/vsg//utils/Builder.cpp
59+ useStlAlgorithm:*/src/vsg/io/Path.cpp
60+ useStlAlgorithm:*/src/vsg/utils/PolytopeIntersector.cpp
61+ useStlAlgorithm:*/src/vsg/vk/PhysicalDevice.cpp
62+
5863
5964// suppress the warning about valid C++17 if (init; condition) usage
60- syntaxError:*include/vsg/core/Inherit.h
61- syntaxError:*src/vsg/io/AsciiOutput.cpp
62- syntaxError:*src/vsg/io/AsciiInput.cpp
63- syntaxError:*src/vsg/io/BinaryOutput.cpp
64- syntaxError:*src/vsg/io/BinaryInput.cpp
65- syntaxError:*src/vsg/io/ReaderWriter.cpp
66- syntaxError:*src/vsg/io/FileSystem.cpp
67- syntaxError:*include/vsg/io/Input.h
68- syntaxError:*include/vsg/io/Output.h
65+ syntaxError:*/ include/vsg/core/Inherit.h
66+ syntaxError:*/ src/vsg/io/AsciiOutput.cpp
67+ syntaxError:*/ src/vsg/io/AsciiInput.cpp
68+ syntaxError:*/ src/vsg/io/BinaryOutput.cpp
69+ syntaxError:*/ src/vsg/io/BinaryInput.cpp
70+ syntaxError:*/ src/vsg/io/ReaderWriter.cpp
71+ syntaxError:*/ src/vsg/io/FileSystem.cpp
72+ syntaxError:*/ include/vsg/io/Input.h
73+ syntaxError:*/ include/vsg/io/Output.h
6974
7075// suppress the warning about valid C++17 if (init; condition) usage
71- syntaxError:*include/vsg/utils/CommandLine.h
72- syntaxError:*include/vsg/core/Data.h:51
76+ syntaxError:*/ include/vsg/utils/CommandLine.h
77+ syntaxError:*/ include/vsg/core/Data.h:51
7378
7479// suppress warnings about never used variables that are used in .cpp's
75- unusedStructMember:*include/vsg/core/Data.h
76- unusedStructMember:*include/vsg/core/Exception.h
77- unusedStructMember:*include/vsg/core/Version.h
78- unusedStructMember:*include/vsg/core/IntrusiveAllocator.h
79- unusedStructMember:*include/vsg/io/ObjectCache.h
80- unusedStructMember:*include/vsg/nodes/Bin.h
81- unusedStructMember:*include/vsg/nodes/LOD.h
82- unusedStructMember:*include/vsg/nodes/PagedLOD.h
83- unusedStructMember:*include/vsg/state/ArrayState.h
84- unusedStructMember:*include/vsg/utils/LineSegmentIntersector.h
85- unusedStructMember:*include/vsg/app/Trackball.h
86- unusedStructMember:*include/vsg/vk/ResourceRequirements.h
87- unusedStructMember:*include/vsg/vk/Device.h
88- unusedStructMember:*include/vsg/vk/RenderPass.h
89- unusedStructMember:*include/vsg/vk/Swapchain.h
90- unusedStructMember:*include/vsg/vk/vulkan.h
91- unusedStructMember:*include/vsg/nodes/Switch.h
92- unusedStructMember:*include/vsg/text/TextLayout.h
93- unusedStructMember:*include/vsg/introspection/c_interface.h
94- unusedStructMember:*include/vsg/utils/Builder.h
95- unusedStructMember:*src/vsg/core/External.cpp
80+ unusedStructMember:*/include/vsg/core/Data.h
81+ unusedStructMember:*/include/vsg/core/Exception.h
82+ unusedStructMember:*/include/vsg/core/Version.h
83+ unusedStructMember:*/include/vsg/core/IntrusiveAllocator.h
84+ unusedStructMember:*/include/vsg/io/ObjectCache.h
85+ unusedStructMember:*/include/vsg/nodes/Bin.h
86+ unusedStructMember:*/include/vsg/nodes/LOD.h
87+ unusedStructMember:*/include/vsg/nodes/PagedLOD.h
88+ unusedStructMember:*/include/vsg/state/ArrayState.h
89+ unusedStructMember:*/include/vsg/utils/LineSegmentIntersector.h
90+ unusedStructMember:*/include/vsg/app/Trackball.h
91+ unusedStructMember:*/include/vsg/vk/ResourceRequirements.h
92+ unusedStructMember:*/include/vsg/vk/Device.h
93+ unusedStructMember:*/include/vsg/vk/RenderPass.h
94+ unusedStructMember:*/include/vsg/vk/Swapchain.h
95+ unusedStructMember:*/include/vsg/vk/vulkan.h
96+ unusedStructMember:*/include/vsg/nodes/Switch.h
97+ unusedStructMember:*/include/vsg/text/TextLayout.h
98+ unusedStructMember:*/include/vsg/introspection/c_interface.h
99+ unusedStructMember:*/include/vsg/utils/Builder.h
100+ unusedStructMember:*/src/vsg/core/External.cpp#
101+ unusedStructMember:*/include/vsg/animation/MorphSampler.h
102+ unusedStructMember:*/include/vsg/app/CompileManager.h
103+ unusedStructMember:*/include/vsg/app/RecordTraversal.h
104+ unusedStructMember:*/include/vsg/app/TransferTask.h
105+ unusedStructMember:*/include/vsg/commands/CopyAndReleaseImage.h
106+ unusedStructMember:*/include/vsg/core/MemorySlots.h
107+ unusedStructMember:*/include/vsg/io/AsciiInput.h
108+ unusedStructMember:*/include/vsg/io/Input.h
109+ unusedStructMember:*/include/vsg/io/Output.h
110+ unusedStructMember:*/include/vsg/io/Path.h
111+ unusedStructMember:*/include/vsg/io/ReaderWriter.h
112+ unusedStructMember:*/include/vsg/raytracing/BuildAccelerationStructureTraversal.h
113+ unusedStructMember:*/include/vsg/state/BindDescriptorSet.h
114+ unusedStructMember:*/include/vsg/state/BufferInfo.h
115+ unusedStructMember:*/include/vsg/utils/Instrumentation.h
116+ unusedStructMember:*/include/vsg/utils/ShaderSet.h
117+ unusedStructMember:*/include/vsg/utils/LoadPagedLOD.h
96118
97119// suppress warnings about unused variables
98- unusedVariable:*src/vsg/io/FileSystem.cpp
99- unusedVariable:*src/vsg/app/CompileManager.cpp
100- unusedVariable:*src/vsg/app/Viewer.cpp
120+ unusedVariable:*/ src/vsg/io/FileSystem.cpp
121+ unusedVariable:*/ src/vsg/app/CompileManager.cpp
122+ unusedVariable:*/ src/vsg/app/Viewer.cpp
101123
102124// suppress inappropriate warnings about unassigned variables
103- unassignedVariable:*src/vsg/commands/ExecuteCommands.cpp
104- unassignedVariable:*src/vsg/state/ShaderStage.cpp
105- unassignedVariable:*src/vsg/state/ViewDependentState.cpp
106- unassignedVariable:*src/vsg/vk/DescriptorPool.cpp
107- unassignedVariable:*src/vsg/vk/ResourceRequirements.cpp
108- unassignedVariable:*src/vsg/core/External.cpp
109- unassignedVariable:*src/vsg/core/MemorySlots.cpp
110- unassignedVariable:*src/vsg/vk/Context.cpp
111- unassignedVariable:*src/vsg/app/CompileManager.cpp
112- unassignedVariable:*src/vsg/app/RecordAndSubmitTask.cpp
113- unassignedVariable:*src/vsg/app/Viewer.cpp
114- unassignedVariable:*src/vsg/vk/DescriptorPools.cpp
125+ unassignedVariable:*/ src/vsg/commands/ExecuteCommands.cpp
126+ unassignedVariable:*/ src/vsg/state/ShaderStage.cpp
127+ unassignedVariable:*/ src/vsg/state/ViewDependentState.cpp
128+ unassignedVariable:*/ src/vsg/vk/DescriptorPool.cpp
129+ unassignedVariable:*/ src/vsg/vk/ResourceRequirements.cpp
130+ unassignedVariable:*/ src/vsg/core/External.cpp
131+ unassignedVariable:*/ src/vsg/core/MemorySlots.cpp
132+ unassignedVariable:*/ src/vsg/vk/Context.cpp
133+ unassignedVariable:*/ src/vsg/app/CompileManager.cpp
134+ unassignedVariable:*/ src/vsg/app/RecordAndSubmitTask.cpp
135+ unassignedVariable:*/ src/vsg/app/Viewer.cpp
136+ unassignedVariable:*/ src/vsg/vk/DescriptorPools.cpp
115137
116138// suppress inappropriate warnings about unreadVariable variables
117139unreadVariable:*/src/vsg/state/DescriptorTexelBufferView.cpp
@@ -121,10 +143,11 @@ uninitvar:*/include/vsg/vk/DeviceFeatures.h
121143uninitvar:*/src/vsg/vk/DeviceFeatures.cpp
122144
123145// suppress inappropriate warning about out of bounds
124- arrayIndexOutOfBounds:*include/vsg/vk/State.h
146+ arrayIndexOutOfBounds:*/ include/vsg/vk/State.h
125147
126- // suppress warnings about intentional code usage
148+ // suppress warnings about intentional code usage or where cppcheck just hasn't got a clue about how templates are used...
127149knownConditionTrueFalse:*/src/vsg/utils/Builder.cpp
150+ knownConditionTrueFalse:*/include/vsg/utils/CommandLine.h
128151
129152// suppress warning about initializtion.
130153useInitializationList:*/include/vsg/core/ScratchMemory.h
@@ -155,3 +178,61 @@ variableScope:*/src/vsg/core/IntrusiveAllocator.cpp
155178// suppress really stupid warning of pointerLessThanZero
156179pointerLessThanZero:*/src/vsg/app/Viewer.cpp
157180
181+ // suppress inappropriate warning of duplInheritedMember
182+ duplInheritedMember:*/include/vsg/core/Inherit.h
183+ duplInheritedMember:*/include/vsg/core/Data.h
184+ duplInheritedMember:*/include/vsg/nodes/Node.h
185+ duplInheritedMember:*/include/vsg/nodes/Group.h
186+ duplInheritedMember:*/include/vsg/nodes/StateGroup.h
187+ duplInheritedMember:*/include/vsg/animation/AnimationGroup.h
188+ duplInheritedMember:*/src/vsg/core/Data.cpp
189+ duplInheritedMember:*/src/vsg/nodes/Node.cpp
190+
191+ // suppress unhelpful warning of shadowFunction
192+ shadowFunction:*/include/vsg/maths/transform.h
193+ shadowFunction:*/src/io/Path.cpp
194+ shadowFunction:*/src/vsg/animation/CameraAnimationHandler.cpp
195+ shadowFunction:*/src/vsg/animation/CameraSampler.cpp
196+ shadowFunction:*/src/vsg/animation/TransformSampler.cpp
197+ shadowFunction:*/src/vsg/io/tile.cpp
198+ shadowFunction:*/src/vsg/io/FileSystem.cpp
199+ shadowFunction:*/src/vsg/io/Path.cpp
200+ shadowFunction:*/src/vsg/app/Trackball.cpp
201+ shadowFunction:*/src/vsg/app/RecordTraversal.cpp
202+ shadowFunction:*/src/vsg/commands/PipelineBarrier.cpp
203+ shadowFunction:*/src/vsg/state/ArrayState.cpp
204+ shadowFunction:*/src/vsg/state/DescriptorBuffer.cpp
205+ shadowFunction:*/src/vsg/state/Image.cpp
206+ shadowFunction:*/src/vsg/state/ImageView.cpp
207+ shadowFunction:*/src/vsg/state/MultisampleState.cpp
208+ shadowFunction:*/src/vsg/state/DescriptorImage.cpp
209+ shadowFunction:*/src/vsg/utils/FindDynamicObjects.cpp
210+ shadowFunction:*/src/vsg/utils/LoadPagedLOD.cpp
211+ shadowFunction:*/src/vsg/utils/PropagateDynamicObjects.cpp
212+ shadowFunction:*/src/vsg/app/ViewMatrix.cpp
213+
214+ // suppress unhelpful warning of c casts
215+ cstyleCast:*/include/vsg/io/mem_stream.h
216+ cstyleCast:*/src/vsg/io/mem_stream.cpp
217+
218+ // suppress unhelpful warnings of override that make inform programmers what is being done
219+ uselessOverride:*/include/vsg/utils/TracyInstrumentation.h
220+
221+ // suppress inappropriate warning
222+ constParameterReference:*/include/vsg/vk/Device.h
223+ constParameterReference:*/src/vsg/vk/Device.cpp
224+ constParameterReference:*/include/vsg/vk/Instance.h
225+ constParameterReference:*/src/vsg/vk/Instance.cpp
226+ constParameterReference:*/include/vsg/app/RecordAndSubmitTask.h
227+ constParameterReference:*/src/vsg/app/RecordAndSubmitTask.cpp
228+
229+ // suppress inappropriate warning
230+ constVariableReference:*/src/vsg/app/RecordTraversal.cpp
231+ constVariableReference:*/src/vsg/utils/ShaderSet.cpp
232+
233+ // suppress inappropriate warning
234+ constVariablePointer:*/src/vsg/app/SecondaryCommandGraph.cpp
235+
236+ // suppress inappropriate warning
237+ passedByValue:*/src/vsg/vk/Device.cpp
238+ passedByValue:*/src/vsg/vk/Instance.cpp
0 commit comments