From: Ayke van Laethem Date: Sat, 8 Jun 2019 21:42:00 +0000 (+0000) Subject: [NFC] Test commit X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52406e5dd7632346a8927b52e5893b07375cbebb;p=llvm [NFC] Test commit Add a newline, which is missing according to go fmt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362888 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/bindings/go/llvm/ir.go b/bindings/go/llvm/ir.go index 555055f5997..29dabc67cfa 100644 --- a/bindings/go/llvm/ir.go +++ b/bindings/go/llvm/ir.go @@ -1303,6 +1303,7 @@ type DebugLoc struct { func (b Builder) SetCurrentDebugLocation(line, col uint, scope, inlinedAt Metadata) { C.LLVMGoSetCurrentDebugLocation(b.C, C.unsigned(line), C.unsigned(col), scope.C, inlinedAt.C) } + // Get current debug location. Please do not call this function until setting debug location with SetCurrentDebugLocation() func (b Builder) GetCurrentDebugLocation() (loc DebugLoc) { md := C.LLVMGoGetCurrentDebugLocation(b.C)