[all-commits] [llvm/llvm-project] e44f25: [clang] NFC: Clear some uses of MemberPointerType:...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Tue Mar 18 20:09:35 PDT 2025


  Branch: refs/heads/users/mizvekov/clang-memptrtype-getclass
  Home:   https://github.com/llvm/llvm-project
  Commit: e44f2565d34637a5cf5a1da179b263e61e00bc1f
      https://github.com/llvm/llvm-project/commit/e44f2565d34637a5cf5a1da179b263e61e00bc1f
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-03-18 (Tue, 18 Mar 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/ComparePointerToMemberVirtualFunctionCheck.cpp
    M clang-tools-extra/clang-tidy/utils/ExceptionAnalyzer.cpp
    M clang/include/clang/AST/CanonicalType.h
    M clang/include/clang/Sema/Sema.h
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/AST/MicrosoftMangle.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/CodeGen/CGCXXABI.cpp
    M clang/lib/CodeGen/CGClass.cpp
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CGExprCXX.cpp
    M clang/lib/CodeGen/CodeGenTypes.cpp
    M clang/lib/CodeGen/ItaniumCXXABI.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/lib/Sema/SemaLookup.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/lib/Sema/SemaStmt.cpp

  Log Message:
  -----------
  [clang] NFC: Clear some uses of MemberPointerType::getClass

This clears up some uses of getClass on MemberPointerType when
equivalent uses of getMostRecentCXXRecordDecl would be just as
simple or simpler.

This is split-off from a larger patch which removes getClass,
in order to facilitate review.



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