[all-commits] [llvm/llvm-project] 2f9554: [llvm] ConvertOption::accept(), acceptInternal() t...

Nico Weber via All-commits all-commits at lists.llvm.org
Mon Sep 27 08:05:21 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f955424c4a7c89c8ca1615bc40a7aa4739d3c7b
      https://github.com/llvm/llvm-project/commit/2f955424c4a7c89c8ca1615bc40a7aa4739d3c7b
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-09-27 (Mon, 27 Sep 2021)

  Changed paths:
    M llvm/include/llvm/Option/Option.h
    M llvm/lib/Option/OptTable.cpp
    M llvm/lib/Option/Option.cpp

  Log Message:
  -----------
  [llvm] ConvertOption::accept(), acceptInternal() to std::unique_ptr<>

These functions transfer ownership to the caller. Make this clear in the
type system.

No behavior change.




More information about the All-commits mailing list