diff options
author | Alex Langford <apl@fb.com> | 2019-06-04 20:14:33 +0000 |
---|---|---|
committer | Alex Langford <apl@fb.com> | 2019-06-04 20:14:33 +0000 |
commit | 29975a2a5d050d1c6a7220844efe8706d1376eb4 (patch) | |
tree | 2335d25d4e4f2a6d100e36c999ba56b732c57da8 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | a03e2b25abfac72d2415edfef8a81ed127a95ca4 (diff) | |
download | llvm-29975a2a5d050d1c6a7220844efe8706d1376eb4.zip llvm-29975a2a5d050d1c6a7220844efe8706d1376eb4.tar.gz llvm-29975a2a5d050d1c6a7220844efe8706d1376eb4.tar.bz2 |
[Target] Remove Process::GetCPPLanguageRuntime
Summary:
I want to remove this method because I think that Process should be
language agnostic, or at least, not have knowledge about specific language
runtimes. There is "GetLanguageRuntime()" which should be used instead. If the
caller a CPPLanguageRuntime, they should cast it as needed. Ideally, this
should only happen in plugins that need C++ specific knowledge.
The next step I would like to do is remove "GetObjCLanguageRuntime()" as well.
There are a lot more instances of that function being used, so I wanted to
upload this one first to get the general reception to this idea.
Reviewers: compnerd, davide, JDevlieghere, jingham, clayborg, labath, aprantl
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D62755
llvm-svn: 362544
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions