[all-commits] [llvm/llvm-project] 51d87a: [Clang] Improve error message for lambda captures ...

CedricSWA via All-commits all-commits at lists.llvm.org
Mon Jul 1 06:39:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51d87aa4380046588124c2e474924cd8f57189db
      https://github.com/llvm/llvm-project/commit/51d87aa4380046588124c2e474924cd8f57189db
  Author: CedricSWA <51178026+CedricSwa at users.noreply.github.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaLambda.cpp
    M clang/test/SemaCXX/lambda-expressions.cpp

  Log Message:
  -----------
  [Clang] Improve error message for lambda captures that name a class member (#94865)

This introduces are more helpful error message when trying to 
explicitly capture a class member in a lambda.

Fixes #94764.



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