[all-commits] [llvm/llvm-project] 1ccc70: [lldb][NFC] Remove unnecessary ClangASTImporter ch...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Fri Jan 31 04:17:28 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ccc702912fa9c41a58b9007807780a0dcb07707
      https://github.com/llvm/llvm-project/commit/1ccc702912fa9c41a58b9007807780a0dcb07707
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2020-01-31 (Fri, 31 Jan 2020)

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

  Log Message:
  -----------
  [lldb][NFC] Remove unnecessary ClangASTImporter checks in ClangASTSource

A ClangASTSource always has a ClangASTImporter. Let's remove these sporadic
checks with a single assert during construction. They were added originally
for the modern-type-lookup mode that didn't use a ClangASTImporter in there.




More information about the All-commits mailing list