[all-commits] [llvm/llvm-project] c502ba: [lldb][NFC] Simplify ClangASTContext::GetBasicTypes

Raphael Isemann via All-commits all-commits at lists.llvm.org
Wed Nov 20 03:47:43 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c502bae52410c83947e5ad7184dff810083afe75
      https://github.com/llvm/llvm-project/commit/c502bae52410c83947e5ad7184dff810083afe75
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2019-11-20 (Wed, 20 Nov 2019)

  Changed paths:
    M lldb/include/lldb/Symbol/ClangASTContext.h
    M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
    M lldb/source/Symbol/ClangASTContext.cpp
    M lldb/unittests/Symbol/TestClangASTContext.cpp

  Log Message:
  -----------
  [lldb][NFC] Simplify ClangASTContext::GetBasicTypes

static convenience methods that do the clang::ASTContext -> ClangASTContext
conversion and handle errors by simply ignoring them are not a good idea.




More information about the All-commits mailing list