From 45cace0d9ab6543caef62568e6f9b31a190e0bfd Mon Sep 17 00:00:00 2001 From: Amaury Sechet Date: Mon, 4 Apr 2016 22:00:25 +0000 Subject: [PATCH] Style update in Core.h/Core.cpp . NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265353 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm-c/Core.h | 4 ++-- lib/IR/Core.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index 1207f819c77..20c5df3e787 100644 --- a/include/llvm-c/Core.h +++ b/include/llvm-c/Core.h @@ -430,9 +430,9 @@ char *LLVMGetDiagInfoDescription(LLVMDiagnosticInfoRef DI); */ LLVMDiagnosticSeverity LLVMGetDiagInfoSeverity(LLVMDiagnosticInfoRef DI); -unsigned LLVMGetMDKindIDInContext(LLVMContextRef C, const char* Name, +unsigned LLVMGetMDKindIDInContext(LLVMContextRef C, const char *Name, unsigned SLen); -unsigned LLVMGetMDKindID(const char* Name, unsigned SLen); +unsigned LLVMGetMDKindID(const char *Name, unsigned SLen); /** * @} diff --git a/lib/IR/Core.cpp b/lib/IR/Core.cpp index b90ec2d7268..b04ff83140d 100644 --- a/lib/IR/Core.cpp +++ b/lib/IR/Core.cpp @@ -100,12 +100,12 @@ void LLVMContextDispose(LLVMContextRef C) { delete unwrap(C); } -unsigned LLVMGetMDKindIDInContext(LLVMContextRef C, const char* Name, +unsigned LLVMGetMDKindIDInContext(LLVMContextRef C, const char *Name, unsigned SLen) { return unwrap(C)->getMDKindID(StringRef(Name, SLen)); } -unsigned LLVMGetMDKindID(const char* Name, unsigned SLen) { +unsigned LLVMGetMDKindID(const char *Name, unsigned SLen) { return LLVMGetMDKindIDInContext(LLVMGetGlobalContext(), Name, SLen); } -- 2.11.0