summaryrefslogtreecommitdiff
path: root/lib/Basic/FileSystemStatCache.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
commita0b067779b6be8c15709555fc17847ba294253c6 (patch)
treedfcdb52bea151c88e88c370ae469e3b54d1b8ff1 /lib/Basic/FileSystemStatCache.cpp
parent06bf1dda55b5db4ab6f583be1c2adf8af00109e3 (diff)
downloadclang-a0b067779b6be8c15709555fc17847ba294253c6.tar.gz
clang-a0b067779b6be8c15709555fc17847ba294253c6.tar.bz2
clang-a0b067779b6be8c15709555fc17847ba294253c6.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201607 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/FileSystemStatCache.cpp')
0 files changed, 0 insertions, 0 deletions