Update for current naming conventions.

I will change identifyFileType to use a StringRef in the next patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183664 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2013-06-10 14:56:16 +00:00
parent 38946caa43
commit 91de80a535
2 changed files with 35 additions and 31 deletions

View File

@@ -725,7 +725,10 @@ namespace sys {
/// This utility function allows any memory block to be examined in order
/// to determine its file type.
LLVMFileType IdentifyFileType(const char*magic, unsigned length);
LLVMFileType identifyFileType(const char *Magic, unsigned Length);
inline LLVMFileType IdentifyFileType(const char *Magic, unsigned Length) {
return identifyFileType(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.