LLVM  3.7.0
Classes | Namespaces | Macros | Typedefs | Functions
WindowsSupport.h File Reference
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.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
 
class  llvm::SmallVectorImpl< T >
 This class consists of common code factored out of the SmallVector class to reduce code duplication based on the SmallVector 'N' template parameter. More...
 

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 
 llvm::sys
 
 llvm::sys::path
 
 llvm::sys::windows
 

Macros

#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::path::widenPath (const Twine &Path8, SmallVectorImpl< wchar_t > &Path16)
 
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. More...
 

Macro Definition Documentation

#define _WIN32_IE   0x0600

Definition at line 31 of file WindowsSupport.h.

#define _WIN32_WINNT   0x0501

Definition at line 30 of file WindowsSupport.h.

#define WIN32_LEAN_AND_MEAN

Definition at line 32 of file WindowsSupport.h.

Typedef Documentation

Definition at line 150 of file WindowsSupport.h.

Definition at line 152 of file WindowsSupport.h.

Definition at line 151 of file WindowsSupport.h.

Definition at line 153 of file WindowsSupport.h.

Definition at line 154 of file WindowsSupport.h.

Function Documentation

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

Definition at line 46 of file WindowsSupport.h.