[all-commits] [llvm/llvm-project] ee032b: [clangd] Add BlockEnd comments for control flow st...

Sam McCall via All-commits all-commits at lists.llvm.org
Fri Jul 21 13:58:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee032bccc934d034909962a9306f7c9d1ca72759
      https://github.com/llvm/llvm-project/commit/ee032bccc934d034909962a9306f7c9d1ca72759
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2023-07-21 (Fri, 21 Jul 2023)

  Changed paths:
    M clang-tools-extra/clangd/InlayHints.cpp
    M clang-tools-extra/clangd/unittests/InlayHintTests.cpp

  Log Message:
  -----------
  [clangd] Add BlockEnd comments for control flow statements

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.

Differential Revision: https://reviews.llvm.org/D155421




More information about the All-commits mailing list