[all-commits] [llvm/llvm-project] 744ec7: [NFC] `goto fail` has failed us in the past...

Chris B via All-commits all-commits at lists.llvm.org
Tue Sep 21 07:18:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 744ec74b305a5039dc74e2d043e1c136e06beac1
      https://github.com/llvm/llvm-project/commit/744ec74b305a5039dc74e2d043e1c136e06beac1
  Author: Chris Bieneman <chris.bieneman at me.com>
  Date:   2021-09-21 (Tue, 21 Sep 2021)

  Changed paths:
    M clang/lib/Frontend/FrontendAction.cpp

  Log Message:
  -----------
  [NFC] `goto fail` has failed us in the past...

This patch replaces reliance on `goto failure` pattern with
`llvm::scope_exit`.

Reviewed By: bkramer

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




More information about the All-commits mailing list