summaryrefslogtreecommitdiffstats
path: root/clang/tools/c-index-test/c-index-test.c
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-10-04 23:52:29 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-10-04 23:52:29 +0000
commit9f9e5826f2863ece1d25bf251e323a73857a5be6 (patch)
tree9fb36c69a078bf66873ca13720b8957761fc29b4 /clang/tools/c-index-test/c-index-test.c
parent4d6cd886f5e6ad05ec5284f19b22457d5c16fe63 (diff)
downloadbcm5719-llvm-9f9e5826f2863ece1d25bf251e323a73857a5be6.tar.gz
bcm5719-llvm-9f9e5826f2863ece1d25bf251e323a73857a5be6.zip
If we flow off the end of a value-returning function:
- outside C++, return undef (behavior is not undefined unless the value is used) - in C++, with -fcatch-undefined-behavior, perform an appropriate trap - in C++, produce an 'unreachable' (behavior is undefined immediately) llvm-svn: 165273
Diffstat (limited to 'clang/tools/c-index-test/c-index-test.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud