aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Analysis/ReachableCode.cpp
AgeCommit message (Expand)AuthorFilesLines
2017-04-11Fix PR13910: Don't warn that __builtin_unreachable() is unreachableAlex Lorenz1-2/+9
2017-04-05-Wunreachable-code: 'true' and 'false' should not be treated as configurationAlex Lorenz1-1/+7
2017-01-12Avoid multiple -Wunreachable-code diagnostics that are triggered byAlex Lorenz1-5/+15
2016-11-01[ReachableCode] Skip over ExprWithCleanups in isConfigurationValueTim Shen1-0/+2
2015-06-22Revert r240270 ("Fixed/added namespace ending comments using clang-tidy").Alexander Kornienko1-3/+2
2015-06-22Fixed/added namespace ending comments using clang-tidy. NFCAlexander Kornienko1-2/+3
2015-01-14[cleanup] Re-sort *all* #include lines with llvm/utils/sort_includes.pyChandler Carruth1-2/+2
2014-05-23Make dead return statement detection more robust against changes in the CFG.Manuel Klimek1-21/+46
2014-05-20[C++11] Use 'nullptr'. Analysis edition.Craig Topper1-2/+2
2014-04-16-Wunreachable-code: refine recognition of unreachable "sigil" to cope with im...Ted Kremenek1-1/+4
2014-03-29[-Wunreachable-code] Expand paren-suppression heuristic to C++/ObjC bools.Ted Kremenek1-6/+11
2014-03-29Improve -Wunreachable-code to provide a means to indicate code is intentional...Ted Kremenek1-14/+48
2014-03-21[-Wunreachable-code] add a specialized diagnostic for unreachable increment e...Ted Kremenek1-0/+20
2014-03-20[-Wunreachable-code] Tweak isTrivialDoWhile() to handle implicit casts.Ted Kremenek1-1/+1
2014-03-20[-Wunreachable-code] Look through member accesses for 'static const bool' con...Ted Kremenek1-23/+27
2014-03-20[-Wunreachable-code] constexpr functions can be used as configuration values.Ted Kremenek1-0/+5
2014-03-20[-Wunreachable-code] Simplify and broad -Wunreachable-code-return, including ...Ted Kremenek1-72/+22
2014-03-15Remove dead functions from unreachable code analysis.Benjamin Kramer1-44/+0
2014-03-15-Wunreachable-code: treat 'const bool' locals as control values.Ted Kremenek1-1/+6
2014-03-15Further refine -Wunreachable-code groups so that -Wno-unreachable-code-break ...Ted Kremenek1-34/+27
2014-03-15Start breaking -Wunreachable-code up into different diagnostic groups.Ted Kremenek1-22/+40
2014-03-09[-Wunreachable-code] Handle Objective-C bool literals in 'isConfigurationValue'.Ted Kremenek1-24/+63
2014-03-08[-Wunreachable-code] Tweak heuristic for configuration values to include arit...Ted Kremenek1-6/+11
2014-03-08[-Wunreachabe-code] Don't warn about unreachable destructors for temporaries.Ted Kremenek1-3/+5
2014-03-08[-Wunreachable-code] Handle 'return' with no argument dominated by 'noreturn'...Ted Kremenek1-6/+11
2014-03-07[C++11] Revert uses of lambdas with array_pod_sort.Benjamin Kramer1-7/+10
2014-03-07[C++11] Convert sort predicates into lambdas.Benjamin Kramer1-10/+7
2014-03-07[-Wunreachable-code] Treat constant globals as configuration values in unreac...Ted Kremenek1-2/+14
2014-03-07Fix recent regressions in -Wreturn-type caused by heuristics to -Wunreachable...Ted Kremenek1-248/+274
2014-03-07[-Wunreachable-code] Correctly expand artificial reachability to pruned '&&' ...Ted Kremenek1-4/+12
2014-03-07[-Wunreachable-code] Teach reachable code analysis heuristics about more lite...Ted Kremenek1-0/+2
2014-03-06[-Wunreachable-code] Refine treating all branches of 'switch' as reachable, w...Ted Kremenek1-18/+4
2014-03-06[-Wunreachable-code] don't warn about dead 'return <string literal>' dominate...Ted Kremenek1-2/+52
2014-03-06[-Wunreachable-code] Handle idiomatic do...while() with an uninteresting cond...Ted Kremenek1-7/+4
2014-03-06[-Wunreachable-code] Handle idiomatic do...while() with an uninteresting cond...Ted Kremenek1-7/+17
2014-03-05[-Wunreachable-code] generalize pruning out warning on trivial returns.Ted Kremenek1-9/+6
2014-03-05[-Wunreachable-code] include some enum constants in "configuration value" heu...Ted Kremenek1-0/+5
2014-03-05[-Wunreachable-code] generalize configuration value checking to all compariso...Ted Kremenek1-1/+1
2014-03-05[-Wunreachable-code] Don't warn about dead code guarded by a "configuration v...Ted Kremenek1-9/+73
2014-03-04[-Wunreachable-code] handle cases where a dead 'return' may have a valid pred...Ted Kremenek1-0/+5
2014-02-27[-Wunreachable-code] always treat 'case:' and 'default:' cases as reachable.Ted Kremenek1-8/+27
2014-02-27[-Wunreachable-code] Don't warn about trivially unreachable return statements...Ted Kremenek1-4/+57
2014-02-27[-Wunreachable-code] Don't warn about unreachable 'default:' cases.Ted Kremenek1-0/+6
2014-02-27[-Wunreachable-code] Prune out unreachable warnings where a 'break' is preced...Ted Kremenek1-7/+43
2013-09-22Make sort predicate match the qsort convention.Benjamin Kramer1-1/+5
2013-09-22Fix array_pod_sort predicates after LLVM change.Benjamin Kramer1-4/+3
2013-08-15Properly track l-paren of a CXXFucntionalCastExpr.Eli Friedman1-1/+1
2013-02-23Remove the CFGElement "Invalid" state.David Blaikie1-2/+2
2013-02-21Replace CFGElement llvm::cast support to be well-defined.David Blaikie1-2/+2
2013-01-12Remove useless 'llvm::' qualifier from names like StringRef and others that areDmitri Gribenko1-2/+2