File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -47,12 +47,29 @@ async function invokeLLMUpdate(code, inputFile) {
4747 For example:
4848 { break; }
4949 by
50- break;
50+ break;
51+ for example replace:
52+ else {
53+ result = 0;
54+ }
55+ by
56+ else
57+ result = 0;
58+ for example replace:
59+ if (a) {
60+ result = 0;
61+ }
62+ by
63+ if (a)
64+ result = 0;
65+ - start else statements on a new line.
5166 - replaces uses of for loops using begin(), end() iterator patterns by C++21 style for loops
5267 For example replace
5368 for (auto it = x.begin(), end = x.end(); it != end; ++it)
5469 by
55- for (auto & e : x)
70+ for (auto e : x)
71+ or
72+ for (auto const& e : x)
5673
5774 For example, replace
5875 for (unsigned i = 0; i < a->get_num_args(); ++i) {
You can’t perform that action at this time.
0 commit comments