[all-commits] [llvm/llvm-project] b1d2d7: [Clang][Parse][NFC] Use `llvm::function_ref<>` ins...

Yanzuo Liu via All-commits all-commits at lists.llvm.org
Sat Jun 7 06:53:09 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1d2d7c1285b4f8a9bce3ad519164bd0351ef979
      https://github.com/llvm/llvm-project/commit/b1d2d7c1285b4f8a9bce3ad519164bd0351ef979
  Author: Yanzuo Liu <zwuis at outlook.com>
  Date:   2025-06-07 (Sat, 07 Jun 2025)

  Changed paths:
    M clang/include/clang/Parse/Parser.h
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Parse/ParseDeclCXX.cpp

  Log Message:
  -----------
  [Clang][Parse][NFC] Use `llvm::function_ref<>` instead of `std::optional<llvm::function_ref<>>` (#142906)

There is no need to distinguish between null `optional` and null
`function_ref` in this case.



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