[PATCH] D58051: Revamp the "[clangd] Format tweak's replacements"

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 11 06:46:10 PST 2019


ilya-biryukov accepted this revision.
ilya-biryukov added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: clangd/ClangdServer.cpp:382
+    auto Style = getFormatStyleForFile(File, InpAST->Inputs.Contents,
+                                       FSProvider.getFileSystem().get());
+    return CB(
----------------
NIT: use `InpAST.Inputs.FS` instead of creating a new instance of the vfs.


Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58051/new/

https://reviews.llvm.org/D58051





More information about the cfe-commits mailing list