[all-commits] [llvm/llvm-project] 93ec6c: [lldb] Desugar template specializations

Jaroslav Sevcik via All-commits all-commits at lists.llvm.org
Thu Jul 16 00:01:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 93ec6cd684265161623b4ea67836f022cd18c224
      https://github.com/llvm/llvm-project/commit/93ec6cd684265161623b4ea67836f022cd18c224
  Author: Jaroslav Sevcik <jarin at google.com>
  Date:   2020-07-16 (Thu, 16 Jul 2020)

  Changed paths:
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
    A lldb/test/API/lang/cpp/template-specialization-type/Makefile
    A lldb/test/API/lang/cpp/template-specialization-type/TestTemplateSpecializationType.py
    A lldb/test/API/lang/cpp/template-specialization-type/main.cpp

  Log Message:
  -----------
  [lldb] Desugar template specializations

Template specializations are not handled in many of the
TypeSystemClang methods. For example, GetNumChildren does not handle
the TemplateSpecialization type class, so template specializations
always look like empty objects.

This patch just desugars template specializations in the existing
RemoveWrappingTypes desugaring helper.

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




More information about the All-commits mailing list