[all-commits] [llvm/llvm-project] 93503a: Fix MSVC build issues (#84362)

Hiroshi Yamauchi via All-commits all-commits at lists.llvm.org
Tue Mar 12 10:27:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93503aafcdc66837ecf220243aaa530c05c35895
      https://github.com/llvm/llvm-project/commit/93503aafcdc66837ecf220243aaa530c05c35895
  Author: Hiroshi Yamauchi <56735936+hjyamauchi at users.noreply.github.com>
  Date:   2024-03-12 (Tue, 12 Mar 2024)

  Changed paths:
    M lldb/include/lldb/Utility/ConstString.h
    M lldb/source/Core/Mangled.cpp
    M lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp

  Log Message:
  -----------
  Fix MSVC build issues (#84362)

MSVC fails when there is ambiguity (multiple options) around implicit
type conversion operators.

Make ConstString's conversion operator to string_view explicit to avoid
ambiguity with one to StringRef and remove an unused local variable that
MSVC also fails on.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list