We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94d3c59 commit 4e51af1Copy full SHA for 4e51af1
genaisrc/mycop.genai.mts
@@ -47,12 +47,29 @@ async function invokeLLMUpdate(code, inputFile) {
47
For example:
48
{ break; }
49
by
50
- break;
+ break;
51
+ for example replace:
52
+ else {
53
+ result = 0;
54
+ }
55
+ by
56
+ else
57
58
59
+ if (a) {
60
61
62
63
+ if (a)
64
65
+ - start else statements on a new line.
66
- replaces uses of for loops using begin(), end() iterator patterns by C++21 style for loops
67
For example replace
68
for (auto it = x.begin(), end = x.end(); it != end; ++it)
69
- for (auto & e : x)
70
+ for (auto e : x)
71
+ or
72
+ for (auto const& e : x)
73
74
For example, replace
75
for (unsigned i = 0; i < a->get_num_args(); ++i) {
0 commit comments