[all-commits] [llvm/llvm-project] cf3421: [Format] Fix a warning

Kazu Hirata via All-commits all-commits at lists.llvm.org
Thu Jan 11 12:09:17 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf3421de587d7c947e8f6b5c754393f85a395747
      https://github.com/llvm/llvm-project/commit/cf3421de587d7c947e8f6b5c754393f85a395747
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-01-11 (Thu, 11 Jan 2024)

  Changed paths:
    M clang/unittests/Format/TokenAnnotatorTest.cpp

  Log Message:
  -----------
  [Format] Fix a warning

This patch fixes:

  clang/unittests/Format/TokenAnnotatorTest.cpp:2181:29: error: lambda
  capture 'Style' is not used [-Werror,-Wunused-lambda-capture]




More information about the All-commits mailing list