[PATCH] D155421: [clangd] Add BlockEnd comments for control flow statements

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 16 23:13:20 PDT 2023


sammccall created this revision.
sammccall added a reviewer: hokein.
Herald added subscribers: kadircet, arphaman.
Herald added a project: All.
sammccall requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.

These mark the end of CompoundStmts bodies of if/while/for/switch.
To identify which statement is being ended, we include abbreviated
text of the condition/loop variable.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155421

Files:
  clang-tools-extra/clangd/InlayHints.cpp
  clang-tools-extra/clangd/unittests/InlayHintTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155421.540868.patch
Type: text/x-patch
Size: 17037 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230717/6841eda6/attachment-0001.bin>


More information about the cfe-commits mailing list