[PATCH] D62616: [CodeComplete] Add a bit more whitespace to completed patterns

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 29 11:47:19 PDT 2019


ilya-biryukov created this revision.
ilya-biryukov added a reviewer: gribozavr.
Herald added subscribers: kadircet, arphaman, jkorous.
Herald added a project: clang.

E.g. we now turn `while(<#cond#>){` into `while (<#cond#>) {`

This slightly improves the final output. Should not affect clients that
format the result on their own.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D62616

Files:
  clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
  clang/lib/Sema/SemaCodeComplete.cpp
  clang/test/CodeCompletion/ordinary-name-cxx11.cpp
  clang/test/CodeCompletion/ordinary-name.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62616.202011.patch
Type: text/x-patch
Size: 16705 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190529/c5e268ce/attachment-0001.bin>


More information about the cfe-commits mailing list