[all-commits] [llvm/llvm-project] 16c065: [lldb][NFC] Extract searching for function SymbolC...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Tue Dec 3 03:33:51 PST 2019


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

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

  Log Message:
  -----------
  [lldb][NFC] Extract searching for function SymbolContexts out of ClangExpressionDeclMap::LookupFunction

This code was just creating a new SymbolContextList with any found functions
in the front and orders them by how close they are to the current frame.
This refactors this code into its own function to make this more obvious.

Doesn't do any other changes to the code, so this is NFC.




More information about the All-commits mailing list