[all-commits] [llvm/llvm-project] a3b4d9: Fix -Wdangling-assignment-gsl in ClangdLSPServerTests

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Wed Jan 8 07:22:13 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a3b4d9147406cbd90090466a9b2b9bb2e9f6000c
      https://github.com/llvm/llvm-project/commit/a3b4d9147406cbd90090466a9b2b9bb2e9f6000c
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2025-01-08 (Wed, 08 Jan 2025)

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

  Log Message:
  -----------
  Fix -Wdangling-assignment-gsl in ClangdLSPServerTests

I think this is a false positive for a non-capturing lambda, but I can't
find anything in the standard that guarantees that these have eternal
lifetime.



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