[all-commits] [llvm/llvm-project] 7ddd15: [clang] Exclude function pointers on DefaultedComp...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Fri Jun 18 04:08:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ddd15cd5dea76a19a9c5315e2a9903d74a49be8
      https://github.com/llvm/llvm-project/commit/7ddd15cd5dea76a19a9c5315e2a9903d74a49be8
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2021-06-18 (Fri, 18 Jun 2021)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/test/CXX/class/class.compare/class.spaceship/p2.cpp

  Log Message:
  -----------
  [clang] Exclude function pointers on DefaultedComparisonAnalyzer

This implements a more comprehensive fix than was done at D95409.
Instead of excluding just function pointer subobjects, we also
exclude any user-defined function pointer conversion operators.

Signed-off-by: Matheus Izvekov <mizvekov at gmail.com>

Reviewed By: rsmith

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




More information about the All-commits mailing list