llvm-project
35b141f6 - [flang] Translate +x to (x), not x (#157513)

Commit
100 days ago
[flang] Translate +x to (x), not x (#157513) In expression semantics, don't completely delete the unary plus operator, but instead translate it into parentheses. The distinction matters in contexts where the bounds of x are significant or when x must not be misinterpreted as a variable. Fixes https://github.com/llvm/llvm-project/issues/157379.
Author
Parents
Loading