From 4bfeee1302eaeb6cf8f4248e3bb4fdf31a11dce1 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 18 Apr 2013 19:50:53 +0000 Subject: [PATCH] C API: Fix coding style git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179785 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm-c/Core.h | 2 +- lib/IR/Core.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index 093c89ae997..96359af51a0 100644 --- a/include/llvm-c/Core.h +++ b/include/llvm-c/Core.h @@ -2579,7 +2579,7 @@ LLVMMemoryBufferRef LLVMCreateMemoryBufferWithMemoryRange(const char *InputData, LLVMMemoryBufferRef LLVMCreateMemoryBufferWithMemoryRangeCopy(const char *InputData, size_t InputDataLength, const char *BufferName); -const char* LLVMGetBufferStart(LLVMMemoryBufferRef MemBuf); +const char *LLVMGetBufferStart(LLVMMemoryBufferRef MemBuf); size_t LLVMGetBufferSize(LLVMMemoryBufferRef MemBuf); void LLVMDisposeMemoryBuffer(LLVMMemoryBufferRef MemBuf); diff --git a/lib/IR/Core.cpp b/lib/IR/Core.cpp index 53244e7cd41..a47976f29cc 100644 --- a/lib/IR/Core.cpp +++ b/lib/IR/Core.cpp @@ -2456,7 +2456,7 @@ LLVMMemoryBufferRef LLVMCreateMemoryBufferWithMemoryRangeCopy( StringRef(BufferName))); } -const char* LLVMGetBufferStart(LLVMMemoryBufferRef MemBuf) { +const char *LLVMGetBufferStart(LLVMMemoryBufferRef MemBuf) { return unwrap(MemBuf)->getBufferStart(); } -- 2.34.1