LLVM  6.0.0svn
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 <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