git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183671
91177308-0d34-0410-b5e6-
96231b3b80d8
/// This utility function allows any memory block to be examined in order
/// to determine its file type.
LLVMFileType identifyFileType(StringRef Magic);
- inline LLVMFileType IdentifyFileType(const char *Magic, unsigned Length) {
- return identifyFileType(StringRef(Magic, Length));
- }
/// This function can be used to copy the file specified by Src to the
/// file specified by Dest. If an error occurs, Dest is removed.