[clangd] Drop explicit specifier on define out-of-line
authorKadir Cetinkaya <kadircet@google.com>
Mon, 8 Mar 2021 08:00:48 +0000 (09:00 +0100)
committerKadir Cetinkaya <kadircet@google.com>
Thu, 11 Mar 2021 12:27:24 +0000 (13:27 +0100)
commitb1a5df174e1d5a58f2498c30795cf18c9bf3e1b1
treeffc24d63f33db3f46e208243488ee1a855389422
parent77394c12a48822bb7a9183408f922d90c1d563cd
[clangd] Drop explicit specifier on define out-of-line

Explicit specifier can only be mentioned on the in-line declaration of a
constructor, so don't carry it over to the definition.

Differential Revision: https://reviews.llvm.org/D98164
clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
clang-tools-extra/clangd/unittests/tweaks/DefineOutlineTests.cpp