9#ifndef LLVM_DEBUGINFO_PDB_DIA_DIAUTILS_H 
   10#define LLVM_DEBUGINFO_PDB_DIA_DIAUTILS_H 
   16template <
typename Obj>
 
   18                             HRESULT (__stdcall Obj::*Func)(BSTR *)) {
 
   20  HRESULT Result = (Object.*Func)(&Str16);
 
 
std::string invokeBstrMethod(Obj &Object, HRESULT(__stdcall Obj::*Func)(BSTR *))
 
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
 
LLVM_ABI bool convertUTF16ToUTF8String(ArrayRef< char > SrcBytes, std::string &Out)
Converts a stream of raw bytes assumed to be UTF16 into a UTF8 std::string.