summaryrefslogtreecommitdiff
path: root/include/llvm/Support/PathV1.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-10 14:56:16 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-10 14:56:16 +0000
commit91de80a5350b801b10323e65a6f3ee0f7dfb54f5 (patch)
treed11c5f43dfd559ebc47cedb422b1ad1813fdfa85 /include/llvm/Support/PathV1.h
parent38946caa431a3e790f82600047db10a4ec55743c (diff)
downloadllvm-91de80a5350b801b10323e65a6f3ee0f7dfb54f5.tar.gz
llvm-91de80a5350b801b10323e65a6f3ee0f7dfb54f5.tar.bz2
llvm-91de80a5350b801b10323e65a6f3ee0f7dfb54f5.tar.xz
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/llvm/Support/PathV1.h')
-rw-r--r--include/llvm/Support/PathV1.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/Support/PathV1.h b/include/llvm/Support/PathV1.h
index 86328f06ab..af46cc11ba 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.