[all-commits] [llvm/llvm-project] 574685: [lldb/Symbol] Use StringRef ctor to prevent incorr...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Jan 31 11:00:50 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 574685b879acff462faa1e5e480825033c589778
      https://github.com/llvm/llvm-project/commit/574685b879acff462faa1e5e480825033c589778
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-01-31 (Fri, 31 Jan 2020)

  Changed paths:
    M lldb/source/Symbol/TypeSystem.cpp

  Log Message:
  -----------
  [lldb/Symbol] Use StringRef ctor to prevent incorrect overload

Use the StringRef constructor instead of toStringRef so we don't end up
with the wrong overload (llvm::toStringRef(bool)).

Fixes PR44736




More information about the All-commits mailing list