aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Analysis/ReachableCode.cpp
AgeCommit message (Expand)AuthorFilesLines
2025-07-01[Analysis] Use range-based for loops (NFC) (#146466)Kazu Hirata1-3/+2
2025-05-31[Analysis] Remove unused includes (NFC) (#142255)Kazu Hirata1-1/+0
2025-02-22Revert "Reapply "[Analyzer][CFG] Correctly handle rebuilt default arg and def...yronglin1-19/+18
2025-02-17Reapply "[Analyzer][CFG] Correctly handle rebuilt default arg and default ini...yronglin1-18/+19
2025-02-03Revert "[Analyzer][CFG] Correctly handle rebuilt default arg and default init...Hans Wennborg1-19/+18
2025-02-01[Analyzer][CFG] Correctly handle rebuilt default arg and default init express...yronglin1-18/+19
2024-11-15[Clang] [NFC] Refactor AST visitors in Sema and the static analyser to use Dy...Sirraide1-6/+8
2024-02-05[coroutine] Suppress unreachable-code warning on coroutine statements. (#77454)Haojian Wu1-4/+47
2023-03-14[clang][Sema] Avoid duplicate diagnostics for unreachable fallthrough attributeTakuya Shimizu1-3/+9
2023-01-14[clang] Use std::optional instead of llvm::Optional (NFC)Kazu Hirata1-4/+4
2023-01-14[clang] Add #include <optional> (NFC)Kazu Hirata1-0/+1
2022-08-15[clang][diagnostics] Don't warn about unreachable code in constexpr ifAlan Zhao1-0/+6
2022-08-08[clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFCFangrui Song1-1/+1
2022-06-20[clang] Don't use Optional::getValue (NFC)Kazu Hirata1-1/+1
2022-06-20[clang] Don't use Optional::hasValue (NFC)Kazu Hirata1-1/+1
2021-11-07[AST, Analysis] Use llvm::reverse (NFC)Kazu Hirata1-4/+2
2021-10-10clang: Add range-based CFG::try_blocks()Nico Weber1-4/+2
2021-10-10clang: Convert two loops to for-eachNico Weber1-7/+6
2020-06-25Change while to do-whileSeija Kijin1-2/+2
2019-11-15Avoid including Builtins.h in Preprocessor.hReid Kleckner1-0/+1
2019-09-21Improve -Wtautological-overlap-compareRichard Trieu1-1/+1
2019-05-24[CFG] NFC: Remove implicit conversion from CFGTerminator to Stmt *.Artem Dergachev1-9/+8
2019-03-01Fix file headers. NFCFangrui Song1-1/+1
2019-02-15Revert "[Analysis] -Wunreachable-code shouldn't fire on the increment of a fo...Sam McCall1-4/+0
2019-02-15[Analysis] -Wunreachable-code shouldn't fire on the increment of a foreach loopSam McCall1-0/+4
2019-02-03[AST] Update the comments of the various Expr::Ignore* + Related cleanupsBruno Ricci1-2/+3
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-11-01Fix clang -Wimplicit-fallthrough warnings across llvm, NFCReid Kleckner1-1/+1
2018-08-09Port getLocStart -> getBeginLocStephen Kelly1-10/+10
2018-07-30Remove trailing spaceFangrui Song1-11/+11
2018-02-13Teach Wreturn-type, Wunreachable-code, and alpha.deadcode.UnreachableCode to ...Nico Weber1-4/+21
2017-09-06[CSA] [NFC] Move AnalysisContext.h to AnalysisDeclContext.hGeorge Karpenkov1-1/+1
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