summaryrefslogtreecommitdiff
path: root/include/llvm/Support/PathV1.h
diff options
context:
space:
mode:
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.