[all-commits] [llvm/llvm-project] 75827f: [CIR] Fix path generation to understand redecls (#...

Erich Keane via All-commits all-commits at lists.llvm.org
Thu Jul 30 09:59:46 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 75827f0bdc8895e1059b2dfa4ac5b8efdc413809
      https://github.com/llvm/llvm-project/commit/75827f0bdc8895e1059b2dfa4ac5b8efdc413809
  Author: Erich Keane <ekeane at nvidia.com>
  Date:   2026-07-30 (Thu, 30 Jul 2026)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenModule.cpp
    M clang/test/CIR/CodeGen/pointer-to-data-member.cpp

  Log Message:
  -----------
  [CIR] Fix path generation to understand redecls (#213051)

Found this during a self-build, an additional decl was confusing the
check between getParent and the currentClass. This patch generalizes it
to use the 'isSameEntity' function which makes sure they are the same.

Also, as a drive-by, the test had some check-lines that andy submitted a
while back, that were accidentially not being tested, so fixed the
check-title to be actually checked.



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