[all-commits] [llvm/llvm-project] 3d612a: [NFC] Avoid unnecessary duplication of code genera...

Dan Liew via All-commits all-commits at lists.llvm.org
Wed Apr 20 10:50:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d612a930dce229c887cd9a731084df419f43791
      https://github.com/llvm/llvm-project/commit/3d612a930dce229c887cd9a731084df419f43791
  Author: Dan Liew <dliew at apple.com>
  Date:   2022-04-20 (Wed, 20 Apr 2022)

  Changed paths:
    M clang/lib/Sema/SemaExpr.cpp

  Log Message:
  -----------
  [NFC] Avoid unnecessary duplication of code generating diagnostic.

The previous code unneccessarily duplicated the creation of a diagnostic
where the only difference was the `AssignmentAction` being passed.

rdar://88664722

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




More information about the All-commits mailing list