[all-commits] [llvm/llvm-project] 52f3a2: [lldb][NFC] Move LLVM RTTI implementation from enu...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Tue Nov 12 01:05:32 PST 2019


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

  Changed paths:
    M lldb/include/lldb/Expression/Expression.h
    M lldb/include/lldb/Expression/FunctionCaller.h
    M lldb/include/lldb/Expression/LLVMUserExpression.h
    M lldb/include/lldb/Expression/UserExpression.h
    M lldb/include/lldb/Expression/UtilityFunction.h
    M lldb/source/Expression/Expression.cpp
    M lldb/source/Expression/FunctionCaller.cpp
    M lldb/source/Expression/LLVMUserExpression.cpp
    M lldb/source/Expression/UserExpression.cpp
    M lldb/source/Expression/UtilityFunction.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.h
    M lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.h
    M lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.h

  Log Message:
  -----------
  [lldb][NFC] Move LLVM RTTI implementation from enum to static ID variable

Summary:
swift-lldb currently has to patch the ExpressionKind enum to add support for Swift expressions. If we implement LLVM's RTTI
with a static ID variable instead of a centralised enum we can drop that patch.

Reviewers: labath, davide

Reviewed By: labath

Subscribers: JDevlieghere, lldb-commits

Tags: #upstreaming_lldb_s_downstream_patches, #lldb

Differential Revision: https://reviews.llvm.org/D70070




More information about the All-commits mailing list