[all-commits] [llvm/llvm-project] 6e1fe4: [lldb][NFC] Remove implementation of GetOriginalDe...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Tue Dec 17 01:46:09 PST 2019


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

  Changed paths:
    M lldb/source/Symbol/ClangASTImporter.cpp

  Log Message:
  -----------
  [lldb][NFC] Remove implementation of GetOriginalDecl and just call GetDeclOrigin instead

Those functions have the same semantics beside some small optimization of not creating
a new empty ASTContextMetadataSP value in the metadata map. We never actually hit this
optimization according to test coverage so let's just call GetDeclOrigin instead.




More information about the All-commits mailing list