summaryrefslogtreecommitdiff
path: root/lib/Sema/SemaOverload.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2019-05-02 23:21:28 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2019-05-02 23:21:28 +0000
commitb4f79aa4368802682268e2f39a29dd8f9b107b59 (patch)
tree9babb15d5a976bb4b89dbd95c276663c44770a97 /lib/Sema/SemaOverload.cpp
parent2067b5bc0787859213f603c8e37d0d2182df48ff (diff)
downloadclang-b4f79aa4368802682268e2f39a29dd8f9b107b59.tar.gz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359844 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaOverload.cpp')
0 files changed, 0 insertions, 0 deletions