[all-commits] [llvm/llvm-project] 543c92: [clang][Diagnostics][NFC] Remove unused Indentatio...

Timm Bäder via All-commits all-commits at lists.llvm.org
Wed May 31 01:17:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 543c92969ba867434af6688808998b82496e9dc1
      https://github.com/llvm/llvm-project/commit/543c92969ba867434af6688808998b82496e9dc1
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M clang/lib/Frontend/TextDiagnostic.cpp

  Log Message:
  -----------
  [clang][Diagnostics][NFC] Remove unused Indentation parameter

printWordWrapped() is only called in one place, which passes all
parameters except `Indentation`. So, remove that parameter and use its
default value instead. Also remove the other default parameter values,
since those are unneeded.




More information about the All-commits mailing list