[all-commits] [llvm/llvm-project] f2d215: [lldb][TypeSystemClang][NFCI] Factor completion lo...

Michael Buch via All-commits all-commits at lists.llvm.org
Thu Jun 13 23:21:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f2d215f572affc9ad73da07763ce1831de7f2d4d
      https://github.com/llvm/llvm-project/commit/f2d215f572affc9ad73da07763ce1831de7f2d4d
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp

  Log Message:
  -----------
  [lldb][TypeSystemClang][NFCI] Factor completion logic for individual types out of GetCompleteQualType (#95402)

This patch factors out the completion logic for individual clang::Type's
into their own helper functions.

During the process I cleaned up a few assumptions (e.g., unnecessary
if-guards that could be asserts because these conditions are guaranteed
by the `clang::Type::TypeClass` switch in `GetCompleteQualType`).

This is mainly motivated by the type-completion rework proposed in
https://github.com/llvm/llvm-project/pull/95100.



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