[llvm-bugs] [Bug 44736] Incorrect use of llvm::toStringRef in TypeSystem.cpp

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 31 11:02:34 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=44736

Jonas Devlieghere <jdevlieghere at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Jonas Devlieghere <jdevlieghere at apple.com> ---
commit 574685b879acff462faa1e5e480825033c589778 (HEAD -> master, origin/master)
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date:   Fri Jan 31 10:54:41 2020 -0800

    [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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200131/4650de84/attachment.html>


More information about the llvm-bugs mailing list