[all-commits] [llvm/llvm-project] 6be76f: [lldb][NFC] Remove redundant ASTContext args to Co...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Fri Dec 20 09:45:34 PST 2019


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

  Changed paths:
    M lldb/include/lldb/Symbol/ClangASTImporter.h
    M lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
    M lldb/source/Symbol/ClangASTImporter.cpp
    M lldb/unittests/Expression/ClangExpressionDeclMapTest.cpp
    M lldb/unittests/Symbol/TestClangASTImporter.cpp

  Log Message:
  -----------
  [lldb][NFC] Remove redundant ASTContext args to CopyDecl/DeportDecl

We already pass a Decl here and the additional ASTContext needs to
match the Decl. We might as well just pass the Decl and then extract
the ASTContext from that.




More information about the All-commits mailing list