LLVM  14.0.0git
Public Types | Static Public Member Functions | List of all members
llvm::CommonHandleTraits Struct Reference

#include "llvm/Support/Windows/WindowsSupport.h"

Inheritance diagram for llvm::CommonHandleTraits:
Inheritance graph
[legend]

Public Types

typedef HANDLE handle_type
 

Static Public Member Functions

static handle_type GetInvalid ()
 
static void Close (handle_type h)
 
static bool IsValid (handle_type h)
 

Detailed Description

Definition at line 119 of file WindowsSupport.h.

Member Typedef Documentation

◆ handle_type

Definition at line 120 of file WindowsSupport.h.

Member Function Documentation

◆ Close()

static void llvm::CommonHandleTraits::Close ( handle_type  h)
inlinestatic

Definition at line 126 of file WindowsSupport.h.

References h.

◆ GetInvalid()

static handle_type llvm::CommonHandleTraits::GetInvalid ( )
inlinestatic

Definition at line 122 of file WindowsSupport.h.

Referenced by IsValid().

◆ IsValid()

static bool llvm::CommonHandleTraits::IsValid ( handle_type  h)
inlinestatic

Definition at line 130 of file WindowsSupport.h.

References GetInvalid(), and h.


The documentation for this struct was generated from the following file: