[all-commits] [llvm/llvm-project] d36481: [lldb][NFC] Take a llvm::Triple in ClangASTContext...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Tue Jan 7 01:51:33 PST 2020


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

  Changed paths:
    M lldb/include/lldb/Host/HostInfoBase.h
    M lldb/include/lldb/Symbol/ClangASTContext.h
    M lldb/source/Host/common/HostInfoBase.cpp
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
    M lldb/source/Symbol/ClangASTContext.cpp
    M lldb/unittests/Symbol/TestClangASTContext.cpp

  Log Message:
  -----------
  [lldb][NFC] Take a llvm::Triple in ClangASTContext constructor

This constructor is supposed to take a string representing an llvm::Triple.
We might as well take a llvm::Triple here which saves us all the string
conversions in the call sites and we make this more type safe.




More information about the All-commits mailing list