[all-commits] [llvm/llvm-project] 0a4daf: [lldb][NFC] Remove redundant ClangASTContext const...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Wed Jan 8 00:36:57 PST 2020


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

  Changed paths:
    M lldb/include/lldb/Symbol/ClangASTContext.h
    M lldb/source/Symbol/ClangASTContext.cpp

  Log Message:
  -----------
  [lldb][NFC] Remove redundant ClangASTContext constructor that takes ArchSpec

ArchSpec has a superset of the information of llvm::Triple but the ClangASTContext
just uses the Triple part of it. This deletes the ArchSpec constructor and all
the code creating ArchSpecs and instead just uses the llvm::Triple constructor
for ClangASTContext.




More information about the All-commits mailing list