summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ClangExpressionParser.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2014-03-20 06:07:30 +0000
committerTed Kremenek <kremenek@apple.com>2014-03-20 06:07:30 +0000
commitf3c93bb61b486d3b01de8d0b071688a35388474d (patch)
treea6df4a82b892bace12a0bba21e037a882f431f71 /lldb/source/Expression/ClangExpressionParser.cpp
parent39f773f939b33b9f41a8b82a6e386e69750a40a6 (diff)
downloadbcm5719-llvm-f3c93bb61b486d3b01de8d0b071688a35388474d.tar.gz
bcm5719-llvm-f3c93bb61b486d3b01de8d0b071688a35388474d.zip
[-Wunreachable-code] Simplify and broad -Wunreachable-code-return, including nontrivial returns.
The exception is return statements that include control-flow, which are clearly doing something "interesting". 99% of the cases I examined for -Wunreachable-code that fired on return statements were not interesting enough to warrant being in -Wunreachable-code by default. Thus the move to include them in -Wunreachable-code-return. This simplifies a bunch of logic, including removing the ad hoc logic to look for std::string literals. llvm-svn: 204307
Diffstat (limited to 'lldb/source/Expression/ClangExpressionParser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud