-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
38 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8f0f3e5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cpp-Linter Report⚠️
Some files did not pass the configured checks!
clang-tidy reports: 312 concern(s)
examples/kilo.cpp
/examples/kilo.cpp:36:1: warning: [fuchsia-statically-constructed-objects]
/examples/kilo.cpp:36:29: warning: [cert-err58-cpp]
/examples/kilo.cpp:60:98: warning: [bugprone-easily-swappable-parameters]
/examples/kilo.cpp:60:117: warning: [readability-identifier-length]
/examples/kilo.cpp:60:347: warning: [cppcoreguidelines-prefer-member-initializer]
/examples/kilo.cpp:101:16: warning: [misc-non-private-member-variables-in-classes]
/examples/kilo.cpp:102:16: warning: [misc-non-private-member-variables-in-classes]
/examples/kilo.cpp:103:16: warning: [misc-non-private-member-variables-in-classes]
/examples/kilo.cpp:104:16: warning: [misc-non-private-member-variables-in-classes]
/examples/kilo.cpp:105:16: warning: [misc-non-private-member-variables-in-classes]
/examples/kilo.cpp:106:16: warning: [misc-non-private-member-variables-in-classes]
/examples/kilo.cpp:107:16: warning: [misc-non-private-member-variables-in-classes]
/examples/kilo.cpp:108:16: warning: [misc-non-private-member-variables-in-classes]
/examples/kilo.cpp:109:16: warning: [misc-non-private-member-variables-in-classes]
/examples/kilo.cpp:110:16: warning: [misc-non-private-member-variables-in-classes]
/examples/kilo.cpp:111:16: warning: [misc-non-private-member-variables-in-classes]
111 | std::string filename; | ^
/examples/kilo.cpp:112:16: warning: [misc-non-private-member-variables-in-classes]
112 | std::string statusmsg; | ^
/examples/kilo.cpp:113:16: warning: [misc-non-private-member-variables-in-classes]
113 | editorSyntax syntax; | ^
/examples/kilo.cpp:119:1: warning: [fuchsia-statically-constructed-objects]
/examples/kilo.cpp:119:20: warning: [cert-err58-cpp]
/examples/kilo.cpp:119:20: warning: [readability-identifier-length]
/examples/kilo.cpp:123:1: warning: [fuchsia-statically-constructed-objects]
/examples/kilo.cpp:123:32: warning: [cert-err58-cpp]
/examples/kilo.cpp:126:1: warning: [fuchsia-statically-constructed-objects]
/examples/kilo.cpp:126:6: warning: [misc-include-cleaner]
/examples/kilo.cpp:126:29: warning: [cert-err58-cpp]
/examples/kilo.cpp:136:30: warning: [readability-identifier-length]
/examples/kilo.cpp:136:42: warning: [misc-include-cleaner]
/examples/kilo.cpp:136:42: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:138:6: warning: [misc-no-recursion]
/examples/kilo.cpp:138:6: warning: [readability-function-cognitive-complexity]
/examples/kilo.cpp:140:3: warning: [cppcoreguidelines-owning-memory]
/examples/kilo.cpp:140:13: warning: [cppcoreguidelines-pro-type-reinterpret-cast]
/examples/kilo.cpp:140:46: warning: [bugprone-suspicious-realloc-usage]
/examples/kilo.cpp:140:46: warning: [cppcoreguidelines-owning-memory]
/examples/kilo.cpp:140:46: warning: [misc-include-cleaner]
/examples/kilo.cpp:141:28: warning: [concurrency-mt-unsafe]
/examples/kilo.cpp:141:28: warning: [misc-include-cleaner]
/examples/kilo.cpp:154:20: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:154:39: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:156:10: warning: [readability-identifier-length]
/examples/kilo.cpp:157:9: warning: [altera-id-dependent-backward-branch]
/examples/kilo.cpp:159:5: warning: [misc-const-correctness]
/examples/kilo.cpp:159:19: warning: [readability-identifier-length]
/examples/kilo.cpp:159:29: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:160:5: warning: [misc-const-correctness]
/examples/kilo.cpp:160:39: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:162:8: warning: [readability-container-size-empty]
/examples/kilo.cpp:162:8: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:162:23: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:162:37: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:164:11: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:164:20: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:164:36: warning: [readability-container-data-pointer]
/examples/kilo.cpp:166:17: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
166 | memset(&row->hl[i], HL_COMMENT, row->rsize - i); | ^
/examples/kilo.cpp:171:8: warning: [readability-container-size-empty]
/examples/kilo.cpp:171:8: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:171:22: warning: [readability-container-size-empty]
/examples/kilo.cpp:171:22: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:171:37: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:173:10: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:175:9: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
175 | row->hl[i] = HL_MLCOMMENT; | ^
/examples/kilo.cpp:176:13: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:176:22: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:176:38: warning: [readability-container-data-pointer]
/examples/kilo.cpp:178:19: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:190:16: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:190:25: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:190:41: warning: [readability-container-data-pointer]
/examples/kilo.cpp:192:17: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
192 | memset(&row->hl[i], HL_MLCOMMENT, mcs.size()); | ^
/examples/kilo.cpp:199:8: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:201:10: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:203:9: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
203 | row->hl[i] = HL_STRING; | ^
/examples/kilo.cpp:206:11: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:220:11: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
220 | row->hl[i] = HL_STRING; | ^
/examples/kilo.cpp:227:8: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:229:11: warning: [misc-include-cleaner]
/examples/kilo.cpp:229:11: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:229:26: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:231:9: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
231 | row->hl[i] = HL_NUMBER; | ^
/examples/kilo.cpp:238:8: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:240:11: warning: [cppcoreguidelines-init-variables]
/examples/kilo.cpp:240:11: warning: [readability-identifier-length]
/examples/kilo.cpp:241:18: warning: [altera-id-dependent-backward-branch]
/examples/kilo.cpp:241:18: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:241:18: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:243:44: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:244:9: warning: [misc-const-correctness]
/examples/kilo.cpp:244:20: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:244:20: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:245:12: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:247:13: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:247:22: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:247:38: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:247:73: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:249:19: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:249:31: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:254:10: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:261:16: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:265:3: warning: [misc-const-correctness]
/examples/kilo.cpp:265:26: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:267:6: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:267:30: warning: [clang-diagnostic-sign-compare]
/examples/kilo.cpp:267:63: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:292:3: warning: [modernize-loop-convert]
/examples/kilo.cpp:294:33: warning: [cppcoreguidelines-pro-bounds-constant-array-index]
/examples/kilo.cpp:296:10: warning: [cppcoreguidelines-pro-bounds-constant-array-index]
/examples/kilo.cpp:298:20: warning: [cppcoreguidelines-pro-bounds-constant-array-index]
298 | E.syntax = HLDB[j]; | ^
/examples/kilo.cpp:299:92: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:308:36: warning: [readability-identifier-length]
/examples/kilo.cpp:310:7: warning: [readability-identifier-length]
/examples/kilo.cpp:311:28: warning: [clang-diagnostic-sign-compare]
/examples/kilo.cpp:313:8: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:319:36: warning: [readability-identifier-length]
/examples/kilo.cpp:322:7: warning: [readability-identifier-length]
/examples/kilo.cpp:325:8: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:337:8: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:339:3: warning: [cppcoreguidelines-owning-memory]
339 | free(row->render); | ^~~~~~~~~~~~~~~~~
/examples/kilo.cpp:339:3: warning: [misc-include-cleaner]
27 | free(row->render); | ^
/examples/kilo.cpp:340:3: warning: [cppcoreguidelines-owning-memory]
/examples/kilo.cpp:340:17: warning: [cppcoreguidelines-pro-type-reinterpret-cast]
/examples/kilo.cpp:340:41: warning: [misc-include-cleaner]
/examples/kilo.cpp:341:32: warning: [concurrency-mt-unsafe]
/examples/kilo.cpp:341:32: warning: [misc-include-cleaner]
/examples/kilo.cpp:346:8: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:348:7: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:349:39: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:351:12: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:351:33: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:353:3: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:359:26: warning: [readability-identifier-length]
/examples/kilo.cpp:359:42: warning: [readability-identifier-length]
/examples/kilo.cpp:361:19: warning: [clang-diagnostic-sign-compare]
/examples/kilo.cpp:363:3: warning: [cppcoreguidelines-owning-memory]
/examples/kilo.cpp:363:11: warning: [cppcoreguidelines-pro-type-reinterpret-cast]
/examples/kilo.cpp:363:35: warning: [bugprone-suspicious-realloc-usage]
/examples/kilo.cpp:363:35: warning: [cppcoreguidelines-owning-memory]
/examples/kilo.cpp:363:35: warning: [misc-include-cleaner]
/examples/kilo.cpp:364:26: warning: [concurrency-mt-unsafe]
/examples/kilo.cpp:364:26: warning: [misc-include-cleaner]
/examples/kilo.cpp:365:12: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:365:28: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:366:23: warning: [altera-id-dependent-backward-branch]
/examples/kilo.cpp:366:25: warning: [clang-diagnostic-sign-compare]
/examples/kilo.cpp:366:44: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:368:3: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
368 | E.row[at].idx = at; | ^
/examples/kilo.cpp:370:3: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:371:3: warning: [cppcoreguidelines-owning-memory]
/examples/kilo.cpp:371:3: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:371:21: warning: [cppcoreguidelines-pro-type-cstyle-cast]
/examples/kilo.cpp:371:21: warning: [google-readability-casting]
/examples/kilo.cpp:371:28: warning: [misc-include-cleaner]
/examples/kilo.cpp:372:6: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:375:5: warning: [concurrency-mt-unsafe]
/examples/kilo.cpp:375:5: warning: [misc-include-cleaner]
/examples/kilo.cpp:377:10: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
377 | memcpy(E.row[at].chars, s, len); | ^
/examples/kilo.cpp:378:3: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:380:3: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:381:3: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:382:3: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:383:3: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:384:20: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:392:3: warning: [cppcoreguidelines-owning-memory]
392 | free(row->render); | ^~~~~~~~~~~~~~~~~
/examples/kilo.cpp:392:3: warning: [misc-include-cleaner]
/examples/kilo.cpp:393:3: warning: [cppcoreguidelines-owning-memory]
393 | free(row->chars); | ^~~~~~~~~~~~~~~~
/examples/kilo.cpp:393:3: warning: [misc-include-cleaner]
/examples/kilo.cpp:394:3: warning: [cppcoreguidelines-owning-memory]
394 | free(row->hl); | ^~~~~~~~~~~~~
/examples/kilo.cpp:394:3: warning: [misc-include-cleaner]
27 | free(row->hl); | ^
/examples/kilo.cpp:397:23: warning: [readability-identifier-length]
/examples/kilo.cpp:399:19: warning: [clang-diagnostic-sign-compare]
/examples/kilo.cpp:400:18: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
400 | editorFreeRow(&E.row[at]); | ^
/examples/kilo.cpp:401:12: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:401:24: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:402:19: warning: [altera-id-dependent-backward-branch]
/examples/kilo.cpp:402:21: warning: [clang-diagnostic-sign-compare]
/examples/kilo.cpp:402:43: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:407:41: warning: [readability-identifier-length]
/examples/kilo.cpp:407:49: warning: [readability-identifier-length]
/examples/kilo.cpp:410:3: warning: [cppcoreguidelines-owning-memory]
/examples/kilo.cpp:410:16: warning: [cppcoreguidelines-pro-type-reinterpret-cast]
/examples/kilo.cpp:410:40: warning: [bugprone-suspicious-realloc-usage]
/examples/kilo.cpp:410:40: warning: [cppcoreguidelines-owning-memory]
/examples/kilo.cpp:410:40: warning: [misc-include-cleaner]
/examples/kilo.cpp:411:31: warning: [concurrency-mt-unsafe]
/examples/kilo.cpp:411:31: warning: [misc-include-cleaner]
/examples/kilo.cpp:412:12: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:412:33: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:414:3: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:419:45: warning: [readability-identifier-length]
/examples/kilo.cpp:421:3: warning: [cppcoreguidelines-owning-memory]
/examples/kilo.cpp:421:16: warning: [cppcoreguidelines-pro-type-reinterpret-cast]
/examples/kilo.cpp:421:40: warning: [bugprone-suspicious-realloc-usage]
/examples/kilo.cpp:421:40: warning: [cppcoreguidelines-owning-memory]
/examples/kilo.cpp:421:40: warning: [misc-include-cleaner]
/examples/kilo.cpp:422:31: warning: [concurrency-mt-unsafe]
/examples/kilo.cpp:422:31: warning: [misc-include-cleaner]
/examples/kilo.cpp:423:11: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
423 | memcpy(&row->chars[row->size], s, len); | ^
/examples/kilo.cpp:425:3: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:430:38: warning: [readability-identifier-length]
/examples/kilo.cpp:433:12: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:433:29: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:444:24: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:453:18: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:454:32: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:455:30: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:457:5: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:469:16: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:477:12: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:478:28: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:489:76: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:489:120: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:499:32: warning: [misc-include-cleaner]
/examples/kilo.cpp:502:9: warning: [altera-id-dependent-backward-branch]
/examples/kilo.cpp:504:5: warning: [google-runtime-int]
/examples/kilo.cpp:504:32: warning: [google-runtime-int]
/examples/kilo.cpp:505:11: warning: [altera-id-dependent-backward-branch]
/examples/kilo.cpp:512:6: warning: [cert-dcl50-cpp]
/examples/kilo.cpp:512:47: warning: [performance-unnecessary-value-param]
/examples/kilo.cpp:514:11: warning: [readability-identifier-length]
/examples/kilo.cpp:516:3: warning: [cert-err33-c]
/examples/kilo.cpp:516:3: warning: [misc-include-cleaner]
/examples/kilo.cpp:516:13: warning: [readability-container-data-pointer]
/examples/kilo.cpp:533:3: warning: [misc-const-correctness]
/examples/kilo.cpp:552:6: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:554:12: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:554:67: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:555:5: warning: [cppcoreguidelines-owning-memory]
555 | free(saved_hl); | ^~~~~~~~~~~~~~
/examples/kilo.cpp:555:5: warning: [misc-include-cleaner]
/examples/kilo.cpp:575:20: warning: [clang-diagnostic-sign-compare]
/examples/kilo.cpp:579:21: warning: [clang-diagnostic-sign-compare]
/examples/kilo.cpp:581:20: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
581 | erow* row = &E.row[current]; | ^
/examples/kilo.cpp:583:8: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:591:7: warning: [cppcoreguidelines-owning-memory]
/examples/kilo.cpp:591:23: warning: [cppcoreguidelines-pro-type-reinterpret-cast]
/examples/kilo.cpp:591:47: warning: [misc-include-cleaner]
/examples/kilo.cpp:592:33: warning: [concurrency-mt-unsafe]
/examples/kilo.cpp:592:33: warning: [misc-include-cleaner]
/examples/kilo.cpp:594:15: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
594 | memset(&row->hl[match - row->render], HL_MATCH, query.size()); | ^
/examples/kilo.cpp:607:3: warning: [misc-const-correctness]
/examples/kilo.cpp:623:50: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:627:11: warning: [clang-diagnostic-sign-compare]
/examples/kilo.cpp:628:11: warning: [clang-diagnostic-sign-compare]
/examples/kilo.cpp:631:6: warning: [readability-function-cognitive-complexity]
/examples/kilo.cpp:633:11: warning: [readability-identifier-length]
/examples/kilo.cpp:633:18: warning: [altera-id-dependent-backward-branch]
/examples/kilo.cpp:633:20: warning: [clang-diagnostic-sign-compare]
/examples/kilo.cpp:635:5: warning: [misc-const-correctness]
/examples/kilo.cpp:636:16: warning: [clang-diagnostic-sign-compare]
/examples/kilo.cpp:641:27: warning: [misc-include-cleaner]
/examples/kilo.cpp:642:23: warning: [clang-diagnostic-sign-compare]
/examples/kilo.cpp:644:12: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:649:15: warning: [altera-id-dependent-backward-branch]
/examples/kilo.cpp:649:15: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:656:17: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:658:14: warning: [clang-diagnostic-sign-compare]
/examples/kilo.cpp:659:22: warning: [readability-identifier-length]
/examples/kilo.cpp:659:39: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:660:22: warning: [readability-identifier-length]
/examples/kilo.cpp:660:39: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:662:22: warning: [cppcoreguidelines-init-variables]
/examples/kilo.cpp:662:22: warning: [readability-identifier-length]
/examples/kilo.cpp:663:18: warning: [altera-id-dependent-backward-branch]
/examples/kilo.cpp:665:12: warning: [misc-include-cleaner]
/examples/kilo.cpp:665:12: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:665:20: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:667:11: warning: [misc-const-correctness]
/examples/kilo.cpp:667:23: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:667:43: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:673:17: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:680:38: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:684:11: warning: [misc-const-correctness]
/examples/kilo.cpp:684:51: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
684 | Term::Color color = editorSyntaxToColor(hl[j]); | ^
/examples/kilo.cpp:690:38: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:696:25: warning: [misc-include-cleaner]
/examples/kilo.cpp:725:23: warning: [misc-include-cleaner]
/examples/kilo.cpp:735:23: warning: [misc-include-cleaner]
12 | screen.append(Term::cursor_off()); | ^
/examples/kilo.cpp:736:23: warning: [misc-include-cleaner]
/examples/kilo.cpp:740:23: warning: [misc-include-cleaner]
/examples/kilo.cpp:741:23: warning: [misc-include-cleaner]
/examples/kilo.cpp:756:5: warning: [misc-const-correctness]
/examples/kilo.cpp:756:15: warning: [readability-identifier-length]
/examples/kilo.cpp:766:10: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:774:12: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:780:8: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:786:48: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:795:16: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
795 | E.cx = E.row[E.cy].size; | ^
/examples/kilo.cpp:799:10: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:799:22: warning: [clang-diagnostic-sign-compare]
/examples/kilo.cpp:800:15: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:800:27: warning: [clang-diagnostic-sign-compare]
/examples/kilo.cpp:815:49: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:816:3: warning: [misc-const-correctness]
/examples/kilo.cpp:816:16: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:817:11: warning: [clang-diagnostic-sign-compare]
/examples/kilo.cpp:820:6: warning: [readability-function-cognitive-complexity]
/examples/kilo.cpp:824:3: warning: [misc-const-correctness]
/examples/kilo.cpp:829:7: warning: [misc-const-correctness]
/examples/kilo.cpp:839:25: warning: [readability-simplify-boolean-expr]
/examples/kilo.cpp:859:41: warning: [cppcoreguidelines-pro-bounds-pointer-arithmetic]
/examples/kilo.cpp:885:17: warning: [altera-id-dependent-backward-branch]
/examples/kilo.cpp:885:17: warning: [readability-implicit-bool-conversion]
/examples/kilo.cpp:922:7: warning: [misc-const-correctness]
/examples/kilo.cpp:964:64: warning: [performance-avoid-endl]
/examples/kilo.cpp:965:5: warning: [concurrency-mt-unsafe]
/examples/kilo.cpp:965:10: warning: [misc-include-cleaner]
/examples/kilo.cpp:967:20: warning: [misc-include-cleaner]
/examples/kilo.cpp:969:51: warning: [performance-avoid-endl]
/examples/kilo.cpp:970:5: warning: [concurrency-mt-unsafe]
/examples/kilo.cpp:970:10: warning: [misc-include-cleaner]
/examples/kilo.cpp:974:38: warning: [performance-avoid-endl]
/examples/kilo.cpp:975:5: warning: [concurrency-mt-unsafe]
/examples/kilo.cpp:975:10: warning: [misc-include-cleaner]
Have any feedback or feature suggestions? Share it here.