[all-commits] [llvm/llvm-project] ea2805: [lldb] Centralize desugaring of decltype-like type...

Pavel Labath via All-commits all-commits at lists.llvm.org
Mon Dec 16 03:00:26 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ea2805a04b65331ca568ff76761ef8a52337e42b
      https://github.com/llvm/llvm-project/commit/ea2805a04b65331ca568ff76761ef8a52337e42b
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2019-12-16 (Mon, 16 Dec 2019)

  Changed paths:
    M lldb/source/Symbol/ClangASTContext.cpp
    M lldb/unittests/Symbol/TestClangASTContext.cpp

  Log Message:
  -----------
  [lldb] Centralize desugaring of decltype-like types in ClangASTContext

Summary:
These types were handled in some places, but not others. This resulted
in (for example) not being able to display members of structs whose
types were defined using these constructs.

Using getLocallyUnqualifiedSingleStepDesugaredType for these types is
not fully equivalent, as it will only desugar them if the types are not
instantiation-dependent, whereas previously we did that unconditionally.

It's not clear to me which behavior is correct here, but the test suite
does not seem to care either way.

Reviewers: teemperor, shafik

Subscribers: lldb-commits

Tags: #lldb

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




More information about the All-commits mailing list