diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-10 14:56:16 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-10 14:56:16 +0000 |
commit | 91de80a5350b801b10323e65a6f3ee0f7dfb54f5 (patch) | |
tree | d11c5f43dfd559ebc47cedb422b1ad1813fdfa85 /include | |
parent | 38946caa431a3e790f82600047db10a4ec55743c (diff) | |
download | external_llvm-91de80a5350b801b10323e65a6f3ee0f7dfb54f5.zip external_llvm-91de80a5350b801b10323e65a6f3ee0f7dfb54f5.tar.gz external_llvm-91de80a5350b801b10323e65a6f3ee0f7dfb54f5.tar.bz2 |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/PathV1.h | 5 |
1 files changed, 4 insertions, 1 deletions
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. |