]> granicus.if.org Git - clang/commit
[-Wunreachable-code] Handle Objective-C bool literals in 'isConfigurationValue'.
authorTed Kremenek <kremenek@apple.com>
Sun, 9 Mar 2014 08:13:49 +0000 (08:13 +0000)
committerTed Kremenek <kremenek@apple.com>
Sun, 9 Mar 2014 08:13:49 +0000 (08:13 +0000)
commitf47666e2ffb701c546caaeaf035add60b5d915e6
tree056ca88a0a71bb45d04da415014477532529a773
parentfd855a691f93fffbf247fd8b0de90b185651409e
[-Wunreachable-code] Handle Objective-C bool literals in 'isConfigurationValue'.

This includes special casing 'YES' and 'NO', which are constants
defined as macros.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203380 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/Analyses/ReachableCode.h
lib/Analysis/ReachableCode.cpp
lib/Sema/AnalysisBasedWarnings.cpp
test/SemaObjC/warn-unreachable.m