struct file_magic

Declaration

struct file_magic { /* full declaration omitted */ };

Description

file_magic - An "enum class" enumeration of file types based on magic (the first N bytes of the file).

Declared at: llvm/include/llvm/BinaryFormat/Magic.h:20

Member Variables

private llvm::file_magic::Impl V = unknown

Method Overview

Methods

file_magic()

Declared at: llvm/include/llvm/BinaryFormat/Magic.h:61

file_magic(llvm::file_magic::Impl V)

Declared at: llvm/include/llvm/BinaryFormat/Magic.h:62

Parameters

llvm::file_magic::Impl V

bool is_object() const

Declared at: llvm/include/llvm/BinaryFormat/Magic.h:59

llvm::file_magic::Impl
operator llvm::file_magic::Impl() const

Declared at: llvm/include/llvm/BinaryFormat/Magic.h:63