[all-commits] [llvm/llvm-project] d8a319: [lldb][NFC] Add unit test for persistent variable ...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Wed Dec 18 04:53:13 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d8a3194987301672fbd50f4e5703952381f0157c
      https://github.com/llvm/llvm-project/commit/d8a3194987301672fbd50f4e5703952381f0157c
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2019-12-18 (Wed, 18 Dec 2019)

  Changed paths:
    M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
    M lldb/unittests/Expression/ClangExpressionDeclMapTest.cpp

  Log Message:
  -----------
  [lldb][NFC] Add unit test for persistent variable lookup with ClangExpressionDeclMap

This adds a unit test for looking up persistent declarations in the scratch AST
context. Also adds the `GetPersistentDecl` hook to the ClangExpressionDeclMap
that this unit test can emulate looking up persistent variables without having
a lldb_private::Target.




More information about the All-commits mailing list