LLVM  14.0.0git
Classes | Namespaces | Functions
Magic.h File Reference
#include <system_error>
Include dependency graph for Magic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


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


 This file implements support for optimizing divisions by a constant.


file_magic llvm::identify_magic (StringRef magic)
 Identify the type of a binary file based on how magical it is. More...
std::error_code llvm::identify_magic (const Twine &path, file_magic &result)
 Get and identify path's type based on its content. More...