[all-commits] [llvm/llvm-project] bf890d: [clang] Don't emit "no member" diagnostic if the l...

Haojian Wu via All-commits all-commits at lists.llvm.org
Mon Sep 28 06:10:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bf890dcb0f5eb05b1a98cbd1cdd24c0c4ece8f8d
      https://github.com/llvm/llvm-project/commit/bf890dcb0f5eb05b1a98cbd1cdd24c0c4ece8f8d
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

  Changed paths:
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/SemaCXX/access-base-class.cpp
    M libcxx/test/libcxx/utilities/memory/util.smartptr/util.smartptr.shared/function_type_default_deleter.fail.cpp

  Log Message:
  -----------
  [clang] Don't emit "no member" diagnostic if the lookup fails on an invalid record decl.

The "no member" diagnostic is likely bogus.

Reviewed By: sammccall, #libc

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




More information about the All-commits mailing list