[all-commits] [llvm/llvm-project] 8656d4: [Clang][Parse] Diagnose requires expressions with ...

Krystian Stasiowski via All-commits all-commits at lists.llvm.org
Wed Apr 17 08:41:25 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8656d4c6a7a742c6fa6ee02c2ace7415163e65e4
      https://github.com/llvm/llvm-project/commit/8656d4c6a7a742c6fa6ee02c2ace7415163e65e4
  Author: Krystian Stasiowski <sdkrystian at gmail.com>
  Date:   2024-04-17 (Wed, 17 Apr 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/lib/Parse/ParseDecl.cpp
    A clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p6-cxx23.cpp

  Log Message:
  -----------
  [Clang][Parse] Diagnose requires expressions with explicit object parameters (#88974)

Clang currently allows the following:
```
auto x = requires (this int) { true; };
```
This patch addresses that.



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