[all-commits] [llvm/llvm-project] cab19d: [NFC] Refactor ExecuteAssembler in cc1as_main.cpp

Scott Linder via All-commits all-commits at lists.llvm.org
Fri Apr 30 10:13:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cab19d84ce85cbceec7fde515cc686d6a83a5f9d
      https://github.com/llvm/llvm-project/commit/cab19d84ce85cbceec7fde515cc686d6a83a5f9d
  Author: Scott Linder <Scott.Linder at amd.com>
  Date:   2021-04-30 (Fri, 30 Apr 2021)

  Changed paths:
    M clang/tools/driver/cc1as_main.cpp

  Log Message:
  -----------
  [NFC] Refactor ExecuteAssembler in cc1as_main.cpp

Introduce an extra scope (another static function) to replace calls to
`unique_ptr::reset` with implicit destructors via RAII.

Reviewed By: MaskRay

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




More information about the All-commits mailing list