aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Process.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-06-25 13:48:52 -0700
committerFangrui Song <i@maskray.me>2022-06-25 13:48:52 -0700
commitb0d6dd3905db145853c7c744ac92d49b00b1fa20 (patch)
treeab06cdf32a501d495ebff0d6c4ecf6715c2b2cdd /llvm/lib/Support/Process.cpp
parentd479b2e4db62f527e2bcdaa601f9d195cf4b7df0 (diff)
downloadllvm-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