[Lldb-commits] [PATCH] D71405: [lldb] Centralize desugaring of decltype-like types in ClangASTContext

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 12 02:55:54 PST 2019


labath created this revision.
labath added reviewers: teemperor, shafik.
Herald added a project: LLDB.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71405

Files:
  lldb/packages/Python/lldbsuite/test/lang/cpp/decltype/TestDecltypeExpr.py
  lldb/packages/Python/lldbsuite/test/lang/cpp/decltype/main.cpp
  lldb/source/Symbol/ClangASTContext.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71405.233556.patch
Type: text/x-patch
Size: 7668 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191212/19cd5e3f/attachment-0001.bin>


More information about the lldb-commits mailing list