[all-commits] [llvm/llvm-project] eefc3d: [clang][diagnostics] Fix fix-it hint parenthesis p...

Iris Shi via All-commits all-commits at lists.llvm.org
Sat Aug 2 01:53:27 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eefc3d275f1e089cb400e697659c55d3ae05006d
      https://github.com/llvm/llvm-project/commit/eefc3d275f1e089cb400e697659c55d3ae05006d
  Author: Iris Shi <0.0 at owo.li>
  Date:   2025-08-02 (Sat, 02 Aug 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaTemplateVariadic.cpp
    A clang/test/FixIt/fixit-c++17.cpp

  Log Message:
  -----------
  [clang][diagnostics] Fix fix-it hint parenthesis placement for fold expressions (#151790)

- Closes #151787

Insert the right parenthesis one token later to correctly enclose the
expression.

---------

Co-authored-by: Corentin Jabot <corentinjabot at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list