[all-commits] [llvm/llvm-project] 2d0bf1: [clang] Cleanup unneeded Function nullptr checks [...

Mike Rice via All-commits all-commits at lists.llvm.org
Thu Dec 16 08:28:54 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d0bf14397276d1ece9db1eb1858a644aad77ff2
      https://github.com/llvm/llvm-project/commit/2d0bf14397276d1ece9db1eb1858a644aad77ff2
  Author: Mike Rice <michael.p.rice at intel.com>
  Date:   2021-12-16 (Thu, 16 Dec 2021)

  Changed paths:
    M clang/lib/CodeGen/CodeGenFunction.cpp

  Log Message:
  -----------
  [clang] Cleanup unneeded Function nullptr checks [NFC]

Add an assert and avoid unneeded checks of Fn in
CodeGenFunction::GenerateCode.

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




More information about the All-commits mailing list