summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2014-02-18 22:12:10 +0000
committerTed Kremenek <kremenek@apple.com>2014-02-18 22:12:10 +0000
commit5b2c210e653192c3bf6e39690c087853c356b415 (patch)
tree0f7536bcea6936afd4ae5e95800417c4b7caa662 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentea09c595a640e7b2892808a8e5453dffc43a194a (diff)
downloadbcm5719-llvm-5b2c210e653192c3bf6e39690c087853c356b415.tar.gz
bcm5719-llvm-5b2c210e653192c3bf6e39690c087853c356b415.zip
Experiment with making -Wunreachable-code more immediately useful by restricting warnings to those issued in the main file.
This warning has a whole bunch of known false positives, much of them due to code that is "sometimes unreachable". This can caused by code that is conditionally generated by the preprocessor, branches that are defined in terms of architecture-specific details (e.g., the size of a type), and so on. While these are all good things to address one by one, the reality is that this warning has received little love lately. By restricting its purvue, we can focus on the top issues effecting main files, which should be smaller, and then gradually widen the scope. llvm-svn: 201607
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud