[all-commits] [llvm/llvm-project] dd436d: [ADT] Use std::optional in StringSwitch.h (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Sun Nov 27 11:49:23 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd436d3cff53db0c64cc4ef5a671b7985917130e
      https://github.com/llvm/llvm-project/commit/dd436d3cff53db0c64cc4ef5a671b7985917130e
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

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

  Log Message:
  -----------
  [ADT] Use std::optional in StringSwitch.h (NFC)

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716


  Commit: c0c5ffad4344c9b611b4166313b574c8ca9e20b4
      https://github.com/llvm/llvm-project/commit/c0c5ffad4344c9b611b4166313b574c8ca9e20b4
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

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

  Log Message:
  -----------
  [ADT] Use std::optional in TypeSwitch.h (NFC)

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716


  Commit: d1925fa27a379ea7cf9625e62f98af967c7bae3c
      https://github.com/llvm/llvm-project/commit/d1925fa27a379ea7cf9625e62f98af967c7bae3c
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/BasicAliasAnalysis.h

  Log Message:
  -----------
  [Analysis] Use std::optional in BasicAliasAnalysis.h (NFC)

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716


  Commit: 561a470da92098038ebf8842160aafa842cf790a
      https://github.com/llvm/llvm-project/commit/561a470da92098038ebf8842160aafa842cf790a
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h

  Log Message:
  -----------
  [Analysis] Use std::optional in BlockFrequencyInfoImpl.h (NFC)

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716


  Commit: c3c0cd6049106406411a2bceaecb418f62da789a
      https://github.com/llvm/llvm-project/commit/c3c0cd6049106406411a2bceaecb418f62da789a
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/DemandedBits.h

  Log Message:
  -----------
  [Analysis] Use std::optional in DemandedBits.h (NFC)

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716


  Commit: b77a88c42e0c35b12eb54fbc459580adfc1531ba
      https://github.com/llvm/llvm-project/commit/b77a88c42e0c35b12eb54fbc459580adfc1531ba
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/IRSimilarityIdentifier.h

  Log Message:
  -----------
  [Analysis] Use std::optional in IRSimilarityIdentifier.h (NFC)

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716


  Commit: 4c88bc5017d28ba219d6f6272bd654727cdc6452
      https://github.com/llvm/llvm-project/commit/4c88bc5017d28ba219d6f6272bd654727cdc6452
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/InlineCost.h

  Log Message:
  -----------
  [Analysis] Use std::optional in InlineCost.h (NFC)

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716


  Commit: 5047104a76445bb424e480594f0eb2ed768315b3
      https://github.com/llvm/llvm-project/commit/5047104a76445bb424e480594f0eb2ed768315b3
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/LazyCallGraph.h

  Log Message:
  -----------
  [Analysis] Use std::optional in LazyCallGraph.h (NFC)

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716


Compare: https://github.com/llvm/llvm-project/compare/4bcab22578b5...5047104a7644


More information about the All-commits mailing list