From 91de80a5350b801b10323e65a6f3ee0f7dfb54f5 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Mon, 10 Jun 2013 14:56:16 +0000 Subject: 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 --- include/llvm/Support/PathV1.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/llvm/Support/PathV1.h b/include/llvm/Support/PathV1.h index 86328f0..af46cc1 100644 --- a/include/llvm/Support/PathV1.h +++ b/include/llvm/Support/PathV1.h @@ -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. -- cgit v1.1