Skip to content

Commit

Permalink
ast exporter: Remove ampersands from asm operand contraints
Browse files Browse the repository at this point in the history
not doing so could lead to a double-ampersand being emitted, which is not correct

see #382
  • Loading branch information
fw-immunant committed Apr 29, 2022
1 parent d92a91b commit 04746d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions c2rust-ast-exporter/src/AstExporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1075,6 +1075,7 @@ class TranslateASTVisitor final
case '=':
case '+':
case '*':
case '&':
break;

case 'g':
Expand Down

0 comments on commit 04746d7

Please # to comment.