[PATCH] D128197: [clangd] Handle initializers that contain =
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 20 06:25:43 PDT 2022
sammccall accepted this revision.
sammccall added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp:192
+ continue;
+ // Deletion range initially spans the initializer, excluding the `=`.
+ auto DelRange = CharSourceRange::getTokenRange(PVD->getDefaultArgRange());
----------------
nit: usually excluding the `=`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128197/new/
https://reviews.llvm.org/D128197
More information about the cfe-commits
mailing list