diff options
author | Amaury Sechet <deadalnix@gmail.com> | 2016-02-17 22:41:09 +0000 |
---|---|---|
committer | Amaury Sechet <deadalnix@gmail.com> | 2016-02-17 22:41:09 +0000 |
commit | 22d2878399f4cb31cd30f40d42993cc20e2cc05b (patch) | |
tree | c2d23334dd21d94bd432e777ebae3ce7de5db4ee /llvm/include | |
parent | 38a3dbdcbf065786a847e0848680c72e2abe19c5 (diff) | |
download | bcm5719-llvm-22d2878399f4cb31cd30f40d42993cc20e2cc05b.tar.gz bcm5719-llvm-22d2878399f4cb31cd30f40d42993cc20e2cc05b.zip |
Move LLVMCreateTargetData and LLVMDisposeTargetData together. NFC
llvm-svn: 261172
Diffstat (limited to 'llvm/include')
-rw-r--r-- | llvm/include/llvm-c/Target.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/include/llvm-c/Target.h b/llvm/include/llvm-c/Target.h index f2a2b18cc05..03004ba5eec 100644 --- a/llvm/include/llvm-c/Target.h +++ b/llvm/include/llvm-c/Target.h @@ -201,6 +201,10 @@ void LLVMSetModuleDataLayout(LLVMModuleRef M, LLVMTargetDataRef DL); See the constructor llvm::DataLayout::DataLayout. */ LLVMTargetDataRef LLVMCreateTargetData(const char *StringRep); +/** Deallocates a TargetData. + See the destructor llvm::DataLayout::~DataLayout. */ +void LLVMDisposeTargetData(LLVMTargetDataRef TD); + /** Adds target library information to a pass manager. This does not take ownership of the target library info. See the method llvm::PassManagerBase::add. */ @@ -284,10 +288,6 @@ unsigned LLVMElementAtOffset(LLVMTargetDataRef TD, LLVMTypeRef StructTy, unsigned long long LLVMOffsetOfElement(LLVMTargetDataRef TD, LLVMTypeRef StructTy, unsigned Element); -/** Deallocates a TargetData. - See the destructor llvm::DataLayout::~DataLayout. */ -void LLVMDisposeTargetData(LLVMTargetDataRef TD); - /** * @} */ |