[all-commits] [llvm/llvm-project] cbe991: [clang] MarkVarDeclODRUsed - remove redundant null...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Feb 26 13:24:39 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cbe9911845eed262b265d2c6b5f600825145330b
      https://github.com/llvm/llvm-project/commit/cbe9911845eed262b265d2c6b5f600825145330b
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-02-26 (Sat, 26 Feb 2022)

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

  Log Message:
  -----------
  [clang] MarkVarDeclODRUsed - remove redundant nullptr check. NFCI.

The function has already been dereferenced the Var pointer




More information about the All-commits mailing list