[all-commits] [llvm/llvm-project] cb3ff9: [clang][OpenMP][NFC] Remove unnecessary nullptr ch...

Mike Rice via All-commits all-commits at lists.llvm.org
Mon Jun 10 08:12:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cb3ff9a3936d31c986fbfa5757c09e585669dc1e
      https://github.com/llvm/llvm-project/commit/cb3ff9a3936d31c986fbfa5757c09e585669dc1e
  Author: Mike Rice <michael.p.rice at intel.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

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

  Log Message:
  -----------
  [clang][OpenMP][NFC] Remove unnecessary nullptr check (#94680)

Static verifier reports unchecked use of pointer after explicitly
checking earlier in the function. It appears the pointer won't be a
nullptr, so remove the unneeded check for consistency.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list