- Added checks for broken control flow
- Added unittests
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 37275 Build 37274: arc lint + arc unit
Event Timeline
clang-tools-extra/clangd/refactor/tweaks/ExtractFunction.cpp | ||
---|---|---|
415 | rather than writing this twice, take an int Increment parameter? | |
431 | (NumberOfLoops > 0 || NumberOfSwitch = 0) | |
433 | NestedLoops would be clearer I think | |
clang-tools-extra/clangd/unittests/TweakTests.cpp | ||
628 | 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?