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

2019-02-11 Thread Haojian Wu via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. hokein marked an inline comment as done. Closed by commit rCTE353712: Revamp the "[clangd] Format tweak's replacements" (authored by hokein, committed by ). Changed prior to commit: https://reviews.llvm.org/D58051?vs=1862

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

2019-02-11 Thread Haojian Wu via Phabricator via cfe-commits
hokein updated this revision to Diff 186246. hokein added a comment. Address review comment. Repository: rCTE Clang Tools Extra CHANGES SINCE LAST ACTION https://reviews.llvm.org/D58051/new/ https://reviews.llvm.org/D58051 Files: clangd/ClangdServer.cpp clangd/ClangdUnit.cpp clangd/

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

2019-02-11 Thread Ilya Biryukov via Phabricator via cfe-commits
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, + FSPr