diff options
author | Fangrui Song <i@maskray.me> | 2022-06-25 13:48:52 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-06-25 13:48:52 -0700 |
commit | b0d6dd3905db145853c7c744ac92d49b00b1fa20 (patch) | |
tree | ab06cdf32a501d495ebff0d6c4ecf6715c2b2cdd /llvm/lib/Support/Process.cpp | |
parent | d479b2e4db62f527e2bcdaa601f9d195cf4b7df0 (diff) | |
download | llvm-b0d6dd3905db145853c7c744ac92d49b00b1fa20.zip llvm-b0d6dd3905db145853c7c744ac92d49b00b1fa20.tar.gz llvm-b0d6dd3905db145853c7c744ac92d49b00b1fa20.tar.bz2 |
[ELF] Fix precedence of ? when there are 2 or more operators on the left hand side
For 1 != 1 <= 1 ? 1 : 2, the current code incorrectly considers that ?
has a higher precedence than != (minPrec).
Also, add a test for right associativity.
Diffstat (limited to 'llvm/lib/Support/Process.cpp')
0 files changed, 0 insertions, 0 deletions