Skip to content

Commit

Permalink
Fix Clang -Wshadow warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
skvadrik committed Nov 13, 2024
1 parent d85f08a commit bce5d21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/codegen/pass2_generate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@ static void gen_fintags(Output& output, CodeList* stmts, const Adfa& dfa, const
expand_fintags(output, tag, fintags);

if (!fixed(tag)) { // variable tag
for (const char* t : fintags) {
append(varops, code_copy_tag(alc, t, base, is_mtag));
for (const char* f : fintags) {
append(varops, code_copy_tag(alc, f, base, is_mtag));
}
} else {
DCHECK(!is_mtag);
Expand Down

0 comments on commit bce5d21

Please sign in to comment.