[Lldb-commits] [PATCH] D46128: Fix expression parser to not accept any type whose basename matches for a type that must exist at root level

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 26 09:15:26 PDT 2018


clayborg created this revision.
clayborg added reviewers: jingham, davide, aprantl, labath, lldb-commits.

This patch fixes an issue where we weren't looking for exact matches in the expression parser and also fixed the type lookup logic in the Module.cpp. Tests added to make sure we don't regress.


https://reviews.llvm.org/D46128

Files:
  packages/Python/lldbsuite/test/lang/cpp/type_lookup/Makefile
  packages/Python/lldbsuite/test/lang/cpp/type_lookup/TestTypeLookup.py
  packages/Python/lldbsuite/test/lang/cpp/type_lookup/main.cpp
  source/Core/Module.cpp
  source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46128.144133.patch
Type: text/x-patch
Size: 9240 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180426/0d067aeb/attachment-0001.bin>


More information about the lldb-commits mailing list