[all-commits] [llvm/llvm-project] 556bcc: [ADT] Rename value to val (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Jun 18 20:19:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 556bcc782101804b2d168a6868ddf06b963a4878
      https://github.com/llvm/llvm-project/commit/556bcc782101804b2d168a6868ddf06b963a4878
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-06-18 (Sat, 18 Jun 2022)

  Changed paths:
    M llvm/include/llvm/ADT/Optional.h

  Log Message:
  -----------
  [ADT] Rename value to val (NFC)

I'd like to introduce functions, such as value, value_or, has_value,
etc to make llvm::Optional look more like std::optional.  Renaming
value to val avoids name conflicts.

Differential Revision: https://reviews.llvm.org/D128125




More information about the All-commits mailing list