Style update in Core.h/Core.cpp . NFC
authorAmaury Sechet <deadalnix@gmail.com>
Mon, 4 Apr 2016 22:00:25 +0000 (22:00 +0000)
committerAmaury Sechet <deadalnix@gmail.com>
Mon, 4 Apr 2016 22:00:25 +0000 (22:00 +0000)
llvm-svn: 265353

llvm/include/llvm-c/Core.h
llvm/lib/IR/Core.cpp

index 1207f81..20c5df3 100644 (file)
@@ -430,9 +430,9 @@ char *LLVMGetDiagInfoDescription(LLVMDiagnosticInfoRef DI);
  */
 LLVMDiagnosticSeverity LLVMGetDiagInfoSeverity(LLVMDiagnosticInfoRef DI);
 
-unsigned LLVMGetMDKindIDInContext(LLVMContextRef C, const charName,
+unsigned LLVMGetMDKindIDInContext(LLVMContextRef C, const char *Name,
                                   unsigned SLen);
-unsigned LLVMGetMDKindID(const charName, unsigned SLen);
+unsigned LLVMGetMDKindID(const char *Name, unsigned SLen);
 
 /**
  * @}
index b90ec2d..b04ff83 100644 (file)
@@ -100,12 +100,12 @@ void LLVMContextDispose(LLVMContextRef C) {
   delete unwrap(C);
 }
 
-unsigned LLVMGetMDKindIDInContext(LLVMContextRef C, const charName,
+unsigned LLVMGetMDKindIDInContext(LLVMContextRef C, const char *Name,
                                   unsigned SLen) {
   return unwrap(C)->getMDKindID(StringRef(Name, SLen));
 }
 
-unsigned LLVMGetMDKindID(const charName, unsigned SLen) {
+unsigned LLVMGetMDKindID(const char *Name, unsigned SLen) {
   return LLVMGetMDKindIDInContext(LLVMGetGlobalContext(), Name, SLen);
 }