summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/IsInf.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-04-30 07:10:06 +0000
committerJohn McCall <rjmccall@apple.com>2010-04-30 07:10:06 +0000
commit5af1aa63935dc9da2236d3aad7dad1edccd0af8b (patch)
tree22f018e12088dd24c06c7b58d1c94c41efb0576e /llvm/lib/Support/IsInf.cpp
parent8b895228d91c0e0d0ab541dc8d7ce8ac8f9b3c15 (diff)
downloadbcm5719-llvm-5af1aa63935dc9da2236d3aad7dad1edccd0af8b.tar.gz
bcm5719-llvm-5af1aa63935dc9da2236d3aad7dad1edccd0af8b.zip
An edge from a call expression to the exit block is only an abnormal edge
if *none* of the successors of the call expression is the exit block. This matters when a call of bool type is the condition of (say) a while loop in a function with no statements after the loop. This *can* happen in C, but it's much more common in C++ because of overloaded operators. Suppresses some substantial number of spurious -Wmissing-noreturn warnings. llvm-svn: 102696
Diffstat (limited to 'llvm/lib/Support/IsInf.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud