This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Disable extract variable for RHS of assignments
ClosedPublic

Authored by kadircet on Oct 13 2020, 4:07 AM.

Diff Detail

Event Timeline

kadircet created this revision.Oct 13 2020, 4:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 13 2020, 4:07 AM
kadircet requested review of this revision.Oct 13 2020, 4:07 AM
adamcz accepted this revision.Oct 13 2020, 4:48 AM
adamcz added inline comments.
clang-tools-extra/clangd/refactor/tweaks/ExtractVariable.cpp
400

nit: you can fold the two if-s together.

This revision is now accepted and ready to land.Oct 13 2020, 4:48 AM
This revision was landed with ongoing or failed builds.Oct 14 2020, 5:27 AM
This revision was automatically updated to reflect the committed changes.