Skip to content

Latest commit

 

History

History
226 lines (214 loc) · 56.2 KB

ClangTidyResults.md

File metadata and controls

226 lines (214 loc) · 56.2 KB

clang-tidy

Home: clang-tidy

Version: 17.0.6

Add Block Delimiter

Case Result Location Expected Diff
ABD1 Pass AddBlockDelimiter.cpp, line 11 ABD1.txt
ABD2 Pass AddBlockDelimiter.cpp, line 14 ABD2.txt
ABD3 Pass AddBlockDelimiter.cpp, line 17 ABD3.txt
ABD4 Pass AddBlockDelimiter.cpp, line 21 ABD4.txt
ABD5 Pass AddBlockDelimiter.cpp, line 23 ABD5.txt
ABD6 Pass AddBlockDelimiter.cpp, line 25 ABD6.txt
ABD7 Pass AddBlockDelimiter.cpp, line 27 ABD7.txt

Add Override

Case Result Location Expected Diff
AO1 Pass AddOverride.cpp, line 38 AO1.txt
AO2 Pass AddOverride.cpp, line 43 AO2.txt
AO3 Pass AddOverride.cpp, line 48 AO3.txt
AO4 Pass AddOverride.cpp, line 54 AO4.txt
AO5 Pass AddOverride.cpp, line 60 AO5.txt
AO6 Pass AddOverride.cpp, line 66 AO6.txt
AO7 Pass AddOverride.cpp, line 71 AO7.txt
AO8 Pass AddOverride.cpp, line 76 AO8.txt
AO9 Pass AddOverride.cpp, line 81 AO9.txt
AO10 Pass AddOverride.cpp, line 86 AO10.txt
AO11 Pass AddOverride.cpp, line 131 AO11.txt
AO12 Pass AddOverride.cpp, line 136 AO12.txt
AO13 Pass AddOverride.cpp, line 141 AO13.txt
AO14 Pass AddOverride.cpp, line 146 AO14.txt
AO15 Pass AddOverride.cpp, line 151 AO15.txt
AO16 Pass AddOverride.cpp, line 156 AO16.txt

Replace auto_ptr With unique_ptr

Case Result Location Expected Diff
RAWU1 Pass ReplaceAutoPtrWithUniquePtr.cpp, line 7 RAWU1.txt
RAWU2 Pass ReplaceAutoPtrWithUniquePtr.cpp, line 12 RAWU2.txt
RAWU3 Pass ReplaceAutoPtrWithUniquePtr.cpp, line 19 RAWU3.txt
RAWU4 Pass ReplaceAutoPtrWithUniquePtr.cpp, line 27 RAWU4.txt

Replace Iterative For With Range For

Case Result Location Expected Diff
RIRF1 Pass ReplaceIterativeForWithRangeFor.cpp, line 9 RIRF1.txt
RIRF2 Failure (doesn't recognize 0..N-1 loop) 22568 ReplaceIterativeForWithRangeFor.cpp, line 17 RIRF2.txt
RIRF3 Failure (doesn't recognize reverse loop) 22569 ReplaceIterativeForWithRangeFor.cpp, line 25 RIRF3.txt
RIRF4 Failure (doesn't recognize reverse loop) 22569 ReplaceIterativeForWithRangeFor.cpp, line 34 RIRF4.txt
RIRF5 Pass ReplaceIterativeForWithRangeFor.cpp, line 41 RIRF5.txt
RIRF6 Failure (doesn't recognize 0..N-1 loop) 22568 ReplaceIterativeForWithRangeFor.cpp, line 49 RIRF6.txt
RIRF7 Failure (doesn't recognize reverse loop) 22569 ReplaceIterativeForWithRangeFor.cpp, line 57 RIRF7.txt
RIRF8 Pass ReplaceIterativeForWithRangeFor.cpp, line 71 RIRF8.txt
RIRF9 Failure (doesn't recognize reverse loop) 22569 ReplaceIterativeForWithRangeFor.cpp, line 79 RIRF9.txt
RIRF10 Failure (doesn't recognize reverse loop) 22569 ReplaceIterativeForWithRangeFor.cpp, line 87 RIRF10.txt
RIRF11 Pass ReplaceIterativeForWithRangeFor.cpp, line 95 RIRF11.txt
RIRF12 Failure (doesn't recognize 0..N-1 loop) 22568 ReplaceIterativeForWithRangeFor.cpp, line 103 RIRF12.txt
RIRF13 Failure (doesn't recognize reverse loop) 22569 ReplaceIterativeForWithRangeFor.cpp, line 111 RIRF13.txt
RIRF14 Pass ReplaceIterativeForWithRangeFor.cpp, line 123 RIRF14.txt
RIRF15 Failure (doesn't recognize 0..N-1 loop) 22568 ReplaceIterativeForWithRangeFor.cpp, line 139 RIRF15.txt
RIRF16 Failure (doesn't recognize reverse loop) 22569 ReplaceIterativeForWithRangeFor.cpp, line 155 RIRF16.txt
RIRF17 Pass ReplaceIterativeForWithRangeFor.cpp, line 171 RIRF17.txt
RIRF18 Failure (doesn't recognize 0..N-1 loop) 22568 ReplaceIterativeForWithRangeFor.cpp, line 187 RIRF18.txt
RIRF19 Failure (doesn't recognize reverse loop) 22569 ReplaceIterativeForWithRangeFor.cpp, line 203 RIRF19.txt
RIRF20 Pass ReplaceIterativeForWithRangeFor.cpp, line 225 RIRF20.txt
RIRF21 Failure (doesn't recognize reverse loop) 22569 ReplaceIterativeForWithRangeFor.cpp, line 233 RIRF21.txt
RIRF22 Failure (doesn't recognize reverse loop) 22569 ReplaceIterativeForWithRangeFor.cpp, line 241 RIRF22.txt
RIRF23 Pass ReplaceIterativeForWithRangeFor.cpp, line 249 RIRF23.txt
RIRF24 Failure (doesn't recognize 0..N-1 loop) 22568 ReplaceIterativeForWithRangeFor.cpp, line 257 RIRF24.txt
RIRF25 Failure (doesn't recognize reverse loop) 22569 ReplaceIterativeForWithRangeFor.cpp, line 265 RIRF25.txt
RIRF26 Pass ReplaceIterativeForWithRangeFor.cpp, line 284 RIRF26.txt
RIRF27 Failure (doesn't recognize 0..N-1 loop) 22568 ReplaceIterativeForWithRangeFor.cpp, line 293 RIRF27.txt
RIRF28 Failure (doesn't recognize reverse loop) 22569 ReplaceIterativeForWithRangeFor.cpp, line 302 RIRF28.txt
RIRF29 Pass ReplaceIterativeForWithRangeFor.cpp, line 311 RIRF29.txt
RIRF30 Failure (doesn't recognize 0..N-1 loop) 22568 ReplaceIterativeForWithRangeFor.cpp, line 320 RIRF30.txt
RIRF31 Failure (doesn't recognize reverse loop) 22569 ReplaceIterativeForWithRangeFor.cpp, line 329 RIRF31.txt
RIRF32 Pass ReplaceIterativeForWithRangeFor.cpp, line 343 RIRF32.txt
RIRF33 Failure (doesn't recognize 0..N-1 loop) 22568 ReplaceIterativeForWithRangeFor.cpp, line 351 RIRF33.txt
RIRF34 Failure (doesn't recognize reverse loop) 22569 ReplaceIterativeForWithRangeFor.cpp, line 359 RIRF34.txt
RIRF35 Pass ReplaceIterativeForWithRangeFor.cpp, line 367 RIRF35.txt
RIRF36 Failure (doesn't recognize 0..N-1 loop) 22568 ReplaceIterativeForWithRangeFor.cpp, line 375 RIRF36.txt
RIRF37 Failure (doesn't recognize reverse loop) 22569 ReplaceIterativeForWithRangeFor.cpp, line 383 RIRF37.txt
RIRF38 Pass ReplaceIterativeForWithRangeFor.cpp, line 394 RIRF38.txt
RIRF39 Failure (doesn't recognize 0..N-1 loop) 22568 ReplaceIterativeForWithRangeFor.cpp, line 404 RIRF39.txt
RIRF40 Failure (doesn't recognize reverse loop) 22569 ReplaceIterativeForWithRangeFor.cpp, line 414 RIRF40.txt
RIRF41 Pass ReplaceIterativeForWithRangeFor.cpp, line 424 RIRF41.txt
RIRF42 Failure (doesn't recognize reverse loop) 22569 ReplaceIterativeForWithRangeFor.cpp, line 434 RIRF42.txt
RIRF43 Failure (doesn't recognize reverse loop) 22569 ReplaceIterativeForWithRangeFor.cpp, line 444 RIRF43.txt
RIRF44 Pass ReplaceIterativeForWithRangeFor.cpp, line 459 RIRF44.txt
RIRF45 Failure (doesn't recognize 0..N-1 loop) 22568 ReplaceIterativeForWithRangeFor.cpp, line 467 RIRF45.txt
RIRF46 Failure (doesn't recognize reverse loop) 22569 ReplaceIterativeForWithRangeFor.cpp, line 475 RIRF46.txt
RIRF47 Pass ReplaceIterativeForWithRangeFor.cpp, line 483 RIRF47.txt
RIRF48 Failure (doesn't recognize 0..N-1 loop) 22568 ReplaceIterativeForWithRangeFor.cpp, line 491 RIRF48.txt
RIRF49 Failure (doesn't recognize reverse loop) 22569 ReplaceIterativeForWithRangeFor.cpp, line 499 RIRF49.txt
RIRF50 Failure (substitutes internal typedefs) 36688 ReplaceIterativeForWithRangeFor.cpp, line 529 RIRF50.txt
RIRF51 Failure (doesn't recognize caching end compare) 22570 ReplaceIterativeForWithRangeFor.cpp, line 537 RIRF51.txt
RIRF52 Failure (doesn't recognize caching end compare, reverse loop) 22570, 22569 ReplaceIterativeForWithRangeFor.cpp, line 545 RIRF52.txt
RIRF53 Failure (doesn't recognize caching end compare) 22570 ReplaceIterativeForWithRangeFor.cpp, line 553 RIRF53.txt
RIRF54 Failure (doesn't recognize caching end compare, reverse loop) 22570, 22569 ReplaceIterativeForWithRangeFor.cpp, line 561 RIRF54.txt
RIRF55 Pass ReplaceIterativeForWithRangeFor.cpp, line 568 RIRF55.txt
RIRF56 Failure (doesn't recognize caching end compare, reverse loop) 22570, 22569 ReplaceIterativeForWithRangeFor.cpp, line 577 RIRF56.txt
RIRF57 Pass ReplaceIterativeForWithRangeFor.cpp, line 595 RIRF57.txt
RIRF58 Pass ReplaceIterativeForWithRangeFor.cpp, line 603 RIRF58.txt
RIRF59 Failure (doesn't recognize 0..N-1 loop) 22568 ReplaceIterativeForWithRangeFor.cpp, line 611 RIRF59.txt
RIRF60 Pass ReplaceIterativeForWithRangeFor.cpp, line 627 RIRF60.txt
RIRF61 Pass ReplaceIterativeForWithRangeFor.cpp, line 635 RIRF61.txt
RIRF62 Failure (doesn't recognize reverse loop) 22569 ReplaceIterativeForWithRangeFor.cpp, line 643 RIRF62.txt
RIRF63 Pass ReplaceIterativeForWithRangeFor.cpp, line 665 RIRF63.txt
RIRF64 Pass ReplaceIterativeForWithRangeFor.cpp, line 673 RIRF64.txt
RIRF65 Failure (doesn't recognize caching end compare, 0..N-1 loop) 22570, 22568 ReplaceIterativeForWithRangeFor.cpp, line 681 RIRF65.txt
RIRF66 Pass ReplaceIterativeForWithRangeFor.cpp, line 697 RIRF66.txt
RIRF67 Pass ReplaceIterativeForWithRangeFor.cpp, line 705 RIRF67.txt
RIRF68 Failure (doesn't recognize reverse loop) 22569 ReplaceIterativeForWithRangeFor.cpp, line 713 RIRF68.txt

Replace NULL/0 With nullptr

Case Result Location Expected Diff
RZNP1 Pass ReplaceNullZeroWithNullPtr.cpp, line 10 RZNP1.txt
RZNP2 Pass ReplaceNullZeroWithNullPtr.cpp, line 12 RZNP2.txt
RZNP3 Pass ReplaceNullZeroWithNullPtr.cpp, line 14 RZNP3.txt
RZNP4 Pass ReplaceNullZeroWithNullPtr.cpp, line 16 RZNP4.txt
RZNP5 Pass ReplaceNullZeroWithNullPtr.cpp, line 18 RZNP5.txt
RZNP6 Pass ReplaceNullZeroWithNullPtr.cpp, line 20 RZNP6.txt
RZNP7 Pass ReplaceNullZeroWithNullPtr.cpp, line 25 RZNP7.txt
RZNP8 Pass ReplaceNullZeroWithNullPtr.cpp, line 27 RZNP8.txt
RZNP9 Pass ReplaceNullZeroWithNullPtr.cpp, line 29 RZNP9.txt
RZNP10 Pass ReplaceNullZeroWithNullPtr.cpp, line 31 RZNP10.txt
RZNP11 Pass ReplaceNullZeroWithNullPtr.cpp, line 33 RZNP11.txt
RZNP12 Pass ReplaceNullZeroWithNullPtr.cpp, line 35 RZNP12.txt
RZNP13 Pass ReplaceNullZeroWithNullPtr.cpp, line 83 RZNP13.txt
RZNP14 Pass ReplaceNullZeroWithNullPtr.cpp, line 85 RZNP14.txt
RZNP15 Pass ReplaceNullZeroWithNullPtr.cpp, line 87 RZNP15.txt
RZNP16 Pass ReplaceNullZeroWithNullPtr.cpp, line 89 RZNP16.txt
RZNP17 Pass ReplaceNullZeroWithNullPtr.cpp, line 91 RZNP17.txt
RZNP18 Pass ReplaceNullZeroWithNullPtr.cpp, line 93 RZNP18.txt
RZNP19 Pass ReplaceNullZeroWithNullPtr.cpp, line 106 RZNP19.txt
RZNP20 Pass ReplaceNullZeroWithNullPtr.cpp, line 108 RZNP20.txt
RZNP21 Pass ReplaceNullZeroWithNullPtr.cpp, line 110 RZNP21.txt
RZNP22 Pass ReplaceNullZeroWithNullPtr.cpp, line 112 RZNP22.txt
RZNP23 Pass ReplaceNullZeroWithNullPtr.cpp, line 114 RZNP23.txt
RZNP24 Pass ReplaceNullZeroWithNullPtr.cpp, line 116 RZNP24.txt
RZNP25 Pass ReplaceNullZeroWithNullPtr.cpp, line 118 RZNP25.txt
RZNP26 Pass ReplaceNullZeroWithNullPtr.cpp, line 120 RZNP26.txt
RZNP27 Pass ReplaceNullZeroWithNullPtr.cpp, line 142 RZNP27.txt
RZNP28 Pass ReplaceNullZeroWithNullPtr.cpp, line 146 RZNP28.txt

Replace String Literal With Raw String Literal

Case Result Location Expected Diff
RAW1 Pass ReplaceStringLiteralWithRawStringLiteral.cpp, line 8 RAW1.txt
RAW2 Failure (not available) ReplaceStringLiteralWithRawStringLiteral.cpp, line 11 RAW2.txt
RAW3 Failure (not available) ReplaceStringLiteralWithRawStringLiteral.cpp, line 14 RAW3.txt
RAW4 Pass ReplaceStringLiteralWithRawStringLiteral.cpp, line 17 RAW4.txt
RAW5 Pass ReplaceStringLiteralWithRawStringLiteral.cpp, line 20 RAW5.txt
RAW6 Pass ReplaceStringLiteralWithRawStringLiteral.cpp, line 23 RAW6.txt
RAW7 Pass ReplaceStringLiteralWithRawStringLiteral.cpp, line 26 RAW7.txt
RAW8 Pass ReplaceStringLiteralWithRawStringLiteral.cpp, line 29 RAW8.txt
RAW9 Pass ReplaceStringLiteralWithRawStringLiteral.cpp, line 32 RAW9.txt
RAW10 Pass ReplaceStringLiteralWithRawStringLiteral.cpp, line 35 RAW10.txt
RAW11 Pass ReplaceStringLiteralWithRawStringLiteral.cpp, line 38 RAW11.txt
RAW12 Pass ReplaceStringLiteralWithRawStringLiteral.cpp, line 41 RAW12.txt

Replace Type With auto

Case Result Location Expected Diff
RTWA1 Pass ReplaceTypeWithAuto.cpp, line 17 RTWA1.txt
RTWA2 Pass ReplaceTypeWithAuto.cpp, line 25 RTWA2.txt
RTWA3 Pass ReplaceTypeWithAuto.cpp, line 33 RTWA3.txt
RTWA4 Pass ReplaceTypeWithAuto.cpp, line 42 RTWA4.txt
RTWA5 Pass ReplaceTypeWithAuto.cpp, line 57 RTWA5.txt
RTWA6 Pass ReplaceTypeWithAuto.cpp, line 65 RTWA6.txt
RTWA7 Pass ReplaceTypeWithAuto.cpp, line 73 RTWA7.txt
RTWA8 Pass ReplaceTypeWithAuto.cpp, line 82 RTWA8.txt
RTWA9 Pass ReplaceTypeWithAuto.cpp, line 97 RTWA9.txt
RTWA10 Pass ReplaceTypeWithAuto.cpp, line 105 RTWA10.txt
RTWA11 Pass ReplaceTypeWithAuto.cpp, line 113 RTWA11.txt
RTWA12 Pass ReplaceTypeWithAuto.cpp, line 122 RTWA12.txt
RTWA13 Pass ReplaceTypeWithAuto.cpp, line 137 RTWA13.txt
RTWA14 Pass ReplaceTypeWithAuto.cpp, line 145 RTWA14.txt
RTWA15 Pass ReplaceTypeWithAuto.cpp, line 153 RTWA15.txt
RTWA16 Pass ReplaceTypeWithAuto.cpp, line 162 RTWA16.txt
RTWA17 Pass ReplaceTypeWithAuto.cpp, line 177 RTWA17.txt
RTWA18 Pass ReplaceTypeWithAuto.cpp, line 185 RTWA18.txt
RTWA19 Pass ReplaceTypeWithAuto.cpp, line 193 RTWA19.txt
RTWA20 Pass ReplaceTypeWithAuto.cpp, line 201 RTWA20.txt
RTWA21 Pass ReplaceTypeWithAuto.cpp, line 215 RTWA21.txt
RTWA22 Pass ReplaceTypeWithAuto.cpp, line 223 RTWA22.txt
RTWA23 Pass ReplaceTypeWithAuto.cpp, line 238 RTWA23.txt
RTWA24 Pass ReplaceTypeWithAuto.cpp, line 246 RTWA24.txt
RTWA25 Pass ReplaceTypeWithAuto.cpp, line 260 RTWA25.txt
RTWA26 Pass ReplaceTypeWithAuto.cpp, line 268 RTWA26.txt
RTWA27 Pass ReplaceTypeWithAuto.cpp, line 276 RTWA27.txt
RTWA28 Pass ReplaceTypeWithAuto.cpp, line 285 RTWA28.txt

Simplify Boolean Expression

Case Result Location Expected Diff
SB1 Pass SimplifyBooleanExpression.cpp, line 30 SB1.txt
SB2 Pass SimplifyBooleanExpression.cpp, line 34 SB2.txt
SB3 Pass SimplifyBooleanExpression.cpp, line 38 SB3.txt
SB4 Pass SimplifyBooleanExpression.cpp, line 42 SB4.txt
SB5 Failure SimplifyBooleanExpression.cpp, line 46 SB5.txt
SB6 Pass SimplifyBooleanExpression.cpp, line 50 SB6.txt
SB7 Pass SimplifyBooleanExpression.cpp, line 54 SB7.txt
SB8 Failure SimplifyBooleanExpression.cpp, line 58 SB8.txt
SB9 Failure SimplifyBooleanExpression.cpp, line 62 SB9.txt
SB10 Failure SimplifyBooleanExpression.cpp, line 66 SB10.txt
SB11 Failure SimplifyBooleanExpression.cpp, line 71 SB11.txt
SB12 Failure SimplifyBooleanExpression.cpp, line 75 SB12.txt
SB13 Failure SimplifyBooleanExpression.cpp, line 79 SB13.txt