[all-commits] [llvm/llvm-project] a3fb23: [BasicAA] Return std::optional from getObjectSize(...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Oct 23 05:56:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a3fb2348b19167dfb027e20f8e1306ebbf31cfbf
      https://github.com/llvm/llvm-project/commit/a3fb2348b19167dfb027e20f8e1306ebbf31cfbf
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-10-23 (Mon, 23 Oct 2023)

  Changed paths:
    M llvm/lib/Analysis/BasicAliasAnalysis.cpp

  Log Message:
  -----------
  [BasicAA] Return std::optional from getObjectSize() (NFC)

Prefer this over UnknownSize, especially once the return value
switches to something other than uint64_t.




More information about the All-commits mailing list