LLVM  8.0.1
Functions
Magic.cpp File Reference
#include "llvm/BinaryFormat/Magic.h"
#include "llvm/BinaryFormat/COFF.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/BinaryFormat/MachO.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBuffer.h"
#include <unistd.h>
Include dependency graph for Magic.cpp:

Go to the source code of this file.

Functions

template<size_t N>
static bool startswith (StringRef Magic, const char(&S)[N])
 

Function Documentation

◆ startswith()

template<size_t N>
static bool startswith ( StringRef  Magic,
const char(&)  S[N] 
)
static