LLVM  10.0.0svn
Classes | Namespaces | Macros | Typedefs | Functions
WindowsSupport.h File Reference
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Config/config.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/Chrono.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/VersionTuple.h"
#include <cassert>
#include <string>
#include <system_error>
#include <windows.h>
#include <wincrypt.h>
Include dependency graph for WindowsSupport.h:

Go to the source code of this file.

Classes

class  llvm::ScopedHandle< HandleTraits >
 
struct  llvm::CommonHandleTraits
 
struct  llvm::JobHandleTraits
 
struct  llvm::CryptContextTraits
 
struct  llvm::RegTraits
 
struct  llvm::FindHandleTraits
 
struct  llvm::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
 This class represents lattice values for constants.
 
 llvm::sys
 
 llvm::sys::windows
 

Macros

#define _WIN32_WINNT   0x0601
 
#define _WIN32_IE   0x0800
 
#define WIN32_LEAN_AND_MEAN
 
#define NOMINMAX
 

Typedefs

typedef ScopedHandle< CommonHandleTraits > llvm::ScopedCommonHandle
 
typedef ScopedHandle< FileHandleTraits > llvm::ScopedFileHandle
 
typedef ScopedHandle< CryptContextTraits > llvm::ScopedCryptContext
 
typedef ScopedHandle< RegTraits > llvm::ScopedRegHandle
 
typedef ScopedHandle< FindHandleTraits > llvm::ScopedFindHandle
 
typedef ScopedHandle< JobHandleTraits > llvm::ScopedJobHandle
 

Functions

bool llvm::RunningWindows8OrGreater ()
 Determines if the program is running on Windows 8 or newer. More...
 
llvm::VersionTuple llvm::GetWindowsOSVersion ()
 Returns the Windows version as Major.Minor.0.BuildNumber. More...
 
bool llvm::MakeErrMsg (std::string *ErrMsg, const std::string &prefix)
 
template<class T >
SmallVectorImpl< T >::const_pointer llvm::c_str (SmallVectorImpl< T > &str)
 
std::chrono::nanoseconds llvm::sys::toDuration (FILETIME Time)
 
TimePoint llvm::sys::toTimePoint (FILETIME Time)
 
FILETIME llvm::sys::toFILETIME (TimePoint<> TP)
 
std::error_code llvm::sys::windows::GetCommandLineArguments (SmallVectorImpl< const char *> &Args, BumpPtrAllocator &Alloc)
 

Macro Definition Documentation

◆ _WIN32_IE

#define _WIN32_IE   0x0800

Definition at line 30 of file WindowsSupport.h.

◆ _WIN32_WINNT

#define _WIN32_WINNT   0x0601

Definition at line 29 of file WindowsSupport.h.

◆ NOMINMAX

#define NOMINMAX

Definition at line 33 of file WindowsSupport.h.

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

Definition at line 31 of file WindowsSupport.h.