[all-commits] [llvm/llvm-project] 14cad9: [LLDB] Fix NSIndexPathSyntheticFrontEnd::Impl::Cle...

Shafik Yaghmour via All-commits all-commits at lists.llvm.org
Wed Mar 30 18:02:04 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 14cad95d38235df6c5fd5dd3da84b91fa69e7e74
      https://github.com/llvm/llvm-project/commit/14cad95d38235df6c5fd5dd3da84b91fa69e7e74
  Author: Shafik Yaghmour <syaghmour at apple.com>
  Date:   2022-03-30 (Wed, 30 Mar 2022)

  Changed paths:
    M lldb/source/Plugins/Language/ObjC/NSIndexPath.cpp

  Log Message:
  -----------
  [LLDB] Fix NSIndexPathSyntheticFrontEnd::Impl::Clear() to only clear the active union member

NSIndexPathSyntheticFrontEnd::Impl::Clear() currently calls Clear() on both
unions members regardless of which one is active. I modified it to only call
Clear() on the active member.

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




More information about the All-commits mailing list