[PATCH] D118782: clangd: Add a break for every case in the PopulateSwitch tweak
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 3 12:47:51 PST 2022
njames93 added inline comments.
================
Comment at: clang-tools-extra/clangd/refactor/tweaks/PopulateSwitch.cpp:208-209
Text.append({EnumD->getName(), "::"});
Text.append({EnumConstant.second.getEnumConstant()->getName(), ":"});
+ Text += "break;";
}
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118782/new/
https://reviews.llvm.org/D118782
More information about the cfe-commits
mailing list