- Added checks for broken control flow
- Added unittests
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 37563 Build 37562: arc lint + arc unit
Event Timeline
| clang-tools-extra/clangd/refactor/tweaks/ExtractFunction.cpp | ||
|---|---|---|
| 434 | rather than writing this twice, take an int Increment parameter? | |
| 481 | (NumberOfLoops > 0 || NumberOfSwitch = 0) | |
| 498 | NestedLoops would be clearer I think | |
| clang-tools-extra/clangd/unittests/TweakTests.cpp | ||
| 521 | please add these to a new test case e.g. TEST_F(ExtractFunctionTest, ControlFlow) to avoid each getting too long | |
rather than writing this twice, take an int Increment parameter?