Skip to content
Commit f7d3048e authored by Richard Smith's avatar Richard Smith
Browse files

Fix -Wunsequenced false-positives in code controlled by a branch on

__builtin_constant_p.

If the operand of __builtin_constant_p is not constant and has
side-effects, then code controlled by a branch on it is unreachable and
we should not emit runtime behavior warnings in such code.

llvm-svn: 359844
parent 3af3900e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment