LLVM API Documentation

Classes | Namespaces | Defines | Typedefs | Functions
WindowsSupport.h File Reference
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Config/config.h"
#include "llvm/Support/Compiler.h"
#include <system_error>
#include <windows.h>
#include <wincrypt.h>
#include <cassert>
#include <string>
#include <vector>
Include dependency graph for WindowsSupport.h:

Go to the source code of this file.

Classes

class  ScopedHandle< HandleTraits >
struct  CommonHandleTraits
struct  JobHandleTraits
struct  CryptContextTraits
struct  FindHandleTraits
struct  FileHandleTraits

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


namespace  llvm::sys
namespace  llvm::sys::windows

Defines

#define _WIN32_WINNT   0x0501
#define _WIN32_IE   0x0600
#define WIN32_LEAN_AND_MEAN

Typedefs

typedef ScopedHandle
< CommonHandleTraits
ScopedCommonHandle
typedef ScopedHandle
< FileHandleTraits
ScopedFileHandle
typedef ScopedHandle
< CryptContextTraits
ScopedCryptContext
typedef ScopedHandle
< FindHandleTraits
ScopedFindHandle
typedef ScopedHandle
< JobHandleTraits
ScopedJobHandle

Functions

bool MakeErrMsg (std::string *ErrMsg, const std::string &prefix)
template<class T >
SmallVectorImpl< T >::const_pointer llvm::c_str (SmallVectorImpl< T > &str)
std::error_code llvm::sys::windows::UTF8ToUTF16 (StringRef utf8, SmallVectorImpl< wchar_t > &utf16)
std::error_code llvm::sys::windows::UTF16ToUTF8 (const wchar_t *utf16, size_t utf16_len, SmallVectorImpl< char > &utf8)
std::error_code llvm::sys::windows::UTF16ToCurCP (const wchar_t *utf16, size_t utf16_len, SmallVectorImpl< char > &utf8)
 Convert from UTF16 to the current code page used in the system.

Define Documentation

#define _WIN32_IE   0x0600

Definition at line 28 of file WindowsSupport.h.

#define _WIN32_WINNT   0x0501

Definition at line 27 of file WindowsSupport.h.

Definition at line 29 of file WindowsSupport.h.


Typedef Documentation

Definition at line 146 of file WindowsSupport.h.

Definition at line 148 of file WindowsSupport.h.

Definition at line 147 of file WindowsSupport.h.

Definition at line 149 of file WindowsSupport.h.

Definition at line 150 of file WindowsSupport.h.


Function Documentation

bool MakeErrMsg ( std::string *  ErrMsg,
const std::string &  prefix 
) [inline]

Definition at line 42 of file WindowsSupport.h.