[all-commits] [llvm/llvm-project] 98ed0c: PR44978: Accept as an extension some cases where d...

Richard Smith via All-commits all-commits at lists.llvm.org
Wed Feb 26 14:55:37 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 98ed0c5475df57ca5cd4df0997d8bba323c843aa
      https://github.com/llvm/llvm-project/commit/98ed0c5475df57ca5cd4df0997d8bba323c843aa
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-02-26 (Wed, 26 Feb 2020)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/test/SemaCXX/destructor.cpp

  Log Message:
  -----------
  PR44978: Accept as an extension some cases where destructor name lookup
is ambiguous, but only one of the possible lookup results could possibly
be right.

Clang recently started diagnosing ambiguity in more cases, and this
broke the build of Firefox. GCC, ICC, MSVC, and previous versions of
Clang all accept some forms of ambiguity here (albeit different ones in
each case); this patch mostly accepts anything any of those compilers
accept.




More information about the All-commits mailing list