diff options
author | Leny Kholodov <lkholodov@accesssoftek.com> | 2016-09-06 17:03:02 +0000 |
---|---|---|
committer | Leny Kholodov <lkholodov@accesssoftek.com> | 2016-09-06 17:03:02 +0000 |
commit | 01dd3d966f52cc4df27ebe42d0b2114c172f65b3 (patch) | |
tree | 010092cd1741f041ad8aa654c542a74a73e52703 /bindings | |
parent | 854572da4c6d76251648160a02d813894a6fdf5f (diff) |
Formatting with clang-format patch r280700
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280716 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/go/llvm/DIBuilderBindings.cpp | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/bindings/go/llvm/DIBuilderBindings.cpp b/bindings/go/llvm/DIBuilderBindings.cpp index 4e5a0510d92..4e0b50aee16 100644 --- a/bindings/go/llvm/DIBuilderBindings.cpp +++ b/bindings/go/llvm/DIBuilderBindings.cpp @@ -76,12 +76,11 @@ LLVMMetadataRef LLVMDIBuilderCreateFunction( LLVMMetadataRef CompositeType, int IsLocalToUnit, int IsDefinition, unsigned ScopeLine, unsigned Flags, int IsOptimized) { DIBuilder *D = unwrap(Dref); - return wrap(D->createFunction(unwrap<DIScope>(Scope), Name, LinkageName, - File ? unwrap<DIFile>(File) : nullptr, Line, - unwrap<DISubroutineType>(CompositeType), - IsLocalToUnit, IsDefinition, ScopeLine, - static_cast<DINode::DIFlags>(Flags), - IsOptimized)); + return wrap(D->createFunction( + unwrap<DIScope>(Scope), Name, LinkageName, + File ? unwrap<DIFile>(File) : nullptr, Line, + unwrap<DISubroutineType>(CompositeType), IsLocalToUnit, IsDefinition, + ScopeLine, static_cast<DINode::DIFlags>(Flags), IsOptimized)); } LLVMMetadataRef @@ -90,10 +89,9 @@ LLVMDIBuilderCreateAutoVariable(LLVMDIBuilderRef Dref, LLVMMetadataRef Scope, unsigned Line, LLVMMetadataRef Ty, int AlwaysPreserve, unsigned Flags) { DIBuilder *D = unwrap(Dref); - return wrap(D->createAutoVariable(unwrap<DIScope>(Scope), Name, - unwrap<DIFile>(File), Line, - unwrap<DIType>(Ty), AlwaysPreserve, - static_cast<DINode::DIFlags>(Flags))); + return wrap(D->createAutoVariable( + unwrap<DIScope>(Scope), Name, unwrap<DIFile>(File), Line, + unwrap<DIType>(Ty), AlwaysPreserve, static_cast<DINode::DIFlags>(Flags))); } LLVMMetadataRef LLVMDIBuilderCreateParameterVariable( |