aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/FileSystemStatCache.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2014-03-07 07:14:36 +0000
committerTed Kremenek <kremenek@apple.com>2014-03-07 07:14:36 +0000
commit7d47cace550a5b46570019839204953e193a65bc (patch)
treeddc27747a3ace28bb4e403774352fc3576c29aa1 /clang/lib/Basic/FileSystemStatCache.cpp
parentcb69b57b2a8903fc9de4c33ec2988daa6d56ba40 (diff)
downloadllvm-7d47cace550a5b46570019839204953e193a65bc.zip
llvm-7d47cace550a5b46570019839204953e193a65bc.tar.gz
llvm-7d47cace550a5b46570019839204953e193a65bc.tar.bz2
Fix recent regressions in -Wreturn-type caused by heuristics to -Wunreachable-code.
I had forgotten that the same reachability code is used by both -Wreturn-type and -Wunreachable-code, so the heuristics applied to the latter were indirectly impacting the former. To address this, the reachability code is more refactored so that whiled the logic at its core is shared, the intention of the clients are better captured and segregated in helper APIs. Fixes PR19074, and also some false positives reported offline to me by Nick Lewycky. llvm-svn: 203209
Diffstat (limited to 'clang/lib/Basic/FileSystemStatCache.cpp')
0 files changed, 0 insertions, 0 deletions