[all-commits] [llvm/llvm-project] 37339d: [lldb][NFC] Use ClangASTContext in AppleObjCRuntim...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Thu Dec 26 07:37:35 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 37339d1426d1092aeb6ba3a4939b9efd6c1e2987
      https://github.com/llvm/llvm-project/commit/37339d1426d1092aeb6ba3a4939b9efd6c1e2987
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2019-12-26 (Thu, 26 Dec 2019)

  Changed paths:
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.h
    M lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp
    M lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h

  Log Message:
  -----------
  [lldb][NFC] Use ClangASTContext in AppleObjCRuntime interfaces

This code actually needs a ClangASTContext but instead takes a
clang::ASTContext and then retrieves the original ClangASTContext
via the global map of ClangASTContexts. Let's change it so
that it takes a ClangASTContext which is simpler and faster.




More information about the All-commits mailing list