From 648c92dcb4aa5ee4bdcea3262452f91c2baf18c6 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Sat, 8 Jun 2019 21:42:00 +0000 Subject: [PATCH] [NFC] Test commit Add a newline, which is missing according to go fmt. llvm-svn: 362888 --- llvm/bindings/go/llvm/ir.go | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/bindings/go/llvm/ir.go b/llvm/bindings/go/llvm/ir.go index 555055f5997e..29dabc67cfab 100644 --- a/llvm/bindings/go/llvm/ir.go +++ b/llvm/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)