[clangd] Don't offer to expand auto in structured binding declarations.
authorSam McCall <sam.mccall@gmail.com>
Mon, 19 Oct 2020 14:29:04 +0000 (16:29 +0200)
committerSam McCall <sam.mccall@gmail.com>
Wed, 28 Oct 2020 17:55:23 +0000 (18:55 +0100)
commit87f03e13ce0e840d7eb9a4a6d805d117fe165672
tree035a12d028433971df2dcb8750d9ae5a6393f389
parent72023442c1eb3169389f469d4b804aff93497758
[clangd] Don't offer to expand auto in structured binding declarations.

auto must be used for the code to parse.

Differential Revision: https://reviews.llvm.org/D89700
clang-tools-extra/clangd/refactor/tweaks/ExpandAutoType.cpp
clang-tools-extra/clangd/unittests/TweakTests.cpp