[all-commits] [llvm/llvm-project] 92d302: [LLDB] Fix GetIndexOfChildMemberWithName to handle...

cmtice via All-commits all-commits at lists.llvm.org
Wed May 7 20:39:58 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92d3029fa4a9c6ce21c50590e57ae834ae3db3bc
      https://github.com/llvm/llvm-project/commit/92d3029fa4a9c6ce21c50590e57ae834ae3db3bc
  Author: cmtice <cmtice at google.com>
  Date:   2025-05-07 (Wed, 07 May 2025)

  Changed paths:
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
    A lldb/test/API/lang/cpp/type_lookup_anon_struct/Makefile
    A lldb/test/API/lang/cpp/type_lookup_anon_struct/TestCppTypeLookupAnonStruct.py
    A lldb/test/API/lang/cpp/type_lookup_anon_struct/main.cpp

  Log Message:
  -----------
  [LLDB] Fix GetIndexOfChildMemberWithName to handle anonymous structs. (#138487)

When handling anonymous structs, GetIndexOfChildMemberWithName needs to
add the number of non-empty base classes to the child index, to get the
actual correct index. It was not doing so. This fixes that.



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