[clangd] Reorder the class field to avoid -Wreorder-ctor warning, NFC.
authorHaojian Wu <hokein.wu@gmail.com>
Fri, 11 Dec 2020 09:45:50 +0000 (10:45 +0100)
committerHaojian Wu <hokein.wu@gmail.com>
Fri, 11 Dec 2020 09:46:54 +0000 (10:46 +0100)
clang-tools-extra/clangd/index/remote/Client.cpp

index bb19be5..0387e65 100644 (file)
@@ -128,8 +128,8 @@ public:
 
 private:
   std::unique_ptr<remote::v1::SymbolIndex::Stub> Stub;
-  llvm::SmallString<256> ServerAddress;
   std::unique_ptr<Marshaller> ProtobufMarshaller;
+  llvm::SmallString<256> ServerAddress;
   // Each request will be terminated if it takes too long.
   std::chrono::milliseconds DeadlineWaitingTime;
 };