Skip to content

Commit 4e51af1

Browse files
update instructions
Signed-off-by: Nikolaj Bjorner <[email protected]>
1 parent 94d3c59 commit 4e51af1

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

genaisrc/mycop.genai.mts

+19-2
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)