[all-commits] [llvm/llvm-project] 7257c3: [clang] fix -Wnullability-completeness false-posit...

Sam McCall via All-commits all-commits at lists.llvm.org
Thu Apr 18 07:26:30 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7257c37357ee4540d6a63e5d2854b97f43ae2c49
      https://github.com/llvm/llvm-project/commit/7257c37357ee4540d6a63e5d2854b97f43ae2c49
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2024-04-18 (Thu, 18 Apr 2024)

  Changed paths:
    M clang/lib/Sema/SemaType.cpp
    M clang/test/SemaObjCXX/Inputs/nullability-consistency-smart.h

  Log Message:
  -----------
  [clang] fix -Wnullability-completeness false-positive in dependent code (#88727)

The intent was that smart-pointers do not participate in completeness
checks, but we failed to capture dependent `unique_ptr<T>`, which is not
a RecordType but a TemplateSpecializationType.



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