<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/88716>88716</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
4 * declaration and definition mismatch.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
dcb314
</td>
</tr>
</table>
<pre>
Static analyser cppcheck says
1.
clang/lib/StaticAnalyzer/Core/RegionStore.cpp:1302:45: warning: Function 'invalidateRegions' argument order different: declaration 'store, Values, E, Count, LCtx, Call, IS, ITraits, Invalidated, InvalidatedTopLevel' definition 'store, Values, Ex, Count, LCtx, Call, IS, ITraits, TopLevelRegions, Invalidated' [funcArgOrderDifferent]
2.
mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.cpp:1336:49: warning: Function 'makeSparseTensorLevel' argument order different: declaration 'builder, loc, t, tid, l' definition 'b, l, t, tid, lvl' [funcArgOrderDifferent]
3.
llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp:3155:54: warning: Function 'matchSelectFromAndOr' argument order different: declaration 'A, B, C, D, InvertFalseVal' definition 'A, C, B, D, InvertFalseVal' [funcArgOrderDifferent]
4.
llvm/lib/Transforms/Vectorize/VPlan.cpp:998:48: warning: Function 'updateDominatorTree' argument order different: declaration 'DT, LoopLatchBB, LoopPreHeaderBB, LoopExitBB' definition 'DT, LoopHeaderBB, LoopLatchBB, LoopExitBB' [funcArgOrderDifferent]
Suggest code rework.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUld9uqzgQxp_G3KCNwECBCy5IOGgrVTpHm2y1t8aeEG-Njcamf87TH5mmNImqqLkxHuMZD7_vA5i1stcAFcnWJGsCNrmDwUrwLonToDPirdo65iQPmWbqzQKGfBz5AfhTaNmbJVFDovp9jFenEVdM94S2SnaEtu9Fal_jNyCh7cYgENr-A700eusMwoqPI0nqOIkoSeo0I0kdvjDUUvd-2k6aO2l0SGgu9TNTUjAH7_mW0Dxk2E8DaBcaFIChkPs9IGjnkwVwxZB95Fs3n74JH5mawPrZDz9szKSdnzxs3Ou8wJTy1_vtPO6QSTdvv186EBfhzowP8AzKtyRgL7W8durrbcd-FF8e-6KTPCTZej9pXmP_02NoFgpZc6oOPdNqUBIXqRrJFHDnRRsZWtiBtsbf3iHTdm9wsIS2_zqp7MWeewfInMFFyeTOK1leUXJgT3BaYkF3g5rdJJXwptqEynB_mWE6OUvzhRDdcf1i47O6AWByBlCp52EBeMbpXlu3MUMnNZxHtRY_8b8FVhJn3vFZehWW44cteHVaNMNc4UZWtX_S9ewxPzRHBwG6likLj-wLXPWyfX0l55vc0m9yewTuDMrfntrjL8X0kVNZFt5TxRVM0-jfhsYMUns37hDgRkrNbn4bjRkfPPL1-iP8hfA3MAH4ufTjVTofXVL7rHGZcVHzs8A3EW6nvgfrQm4EhAgvBp-OUANRJaJMShZAFedxEhc0SrPgUPE7nu1jXsaRSPKcpRnfZ0VZlLSIIt7lWSArGtE0SuMsjrM0ylYAURpFZUlZXlKeA0kjGJhUKy_ZymAfSGsnqIoij-8CxTpQdv6JUKrhJZxvEkr9PwUrn_NXN_WWpJGS1tnPKk46BVUaEnquAtPiFOgg7ez-VTChqg7OjZYkNaEtoW0v3WHqVtzMVjo6yp84ovn__Us2t-NtNbf7JwAA__-F7Tcp">