LLVM 19.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

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 122 of file WindowsSupport.h.

Member Typedef Documentation

◆ handle_type

Definition at line 123 of file WindowsSupport.h.

Member Function Documentation

◆ Close()

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

Definition at line 129 of file WindowsSupport.h.

◆ GetInvalid()

static handle_type llvm::CommonHandleTraits::GetInvalid ( )

Definition at line 125 of file WindowsSupport.h.

Referenced by IsValid().

◆ IsValid()

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

Definition at line 133 of file WindowsSupport.h.

References GetInvalid().

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