[all-commits] [llvm/llvm-project] 83fe0b: [clang] Fix -Wunused-lambda-capture in TokenAnnota...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Sat Mar 9 04:28:01 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 83fe0b13824bc419092bad47727aa1c8ca69330a
      https://github.com/llvm/llvm-project/commit/83fe0b13824bc419092bad47727aa1c8ca69330a
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-03-09 (Sat, 09 Mar 2024)

  Changed paths:
    M clang/lib/Format/TokenAnnotator.cpp

  Log Message:
  -----------
  [clang] Fix -Wunused-lambda-capture in TokenAnnotator.cpp (NFC)

llvm-project/clang/lib/Format/TokenAnnotator.cpp:2707:43:
error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
    auto IsQualifiedPointerOrReference = [this](FormatToken *T) {
                                          ^~~~
1 error generated.



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