[PATCH] D57672: Fix format string in bindings/go/llvm/ir_test.go (PR40561)
Hans Wennborg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 5 03:01:55 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL353155: Fix format string in bindings/go/llvm/ir_test.go (PR40561) (authored by hans, committed by ).
Herald added a project: LLVM.
Changed prior to commit:
https://reviews.llvm.org/D57672?vs=185004&id=185266#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57672/new/
https://reviews.llvm.org/D57672
Files:
llvm/trunk/bindings/go/llvm/ir_test.go
Index: llvm/trunk/bindings/go/llvm/ir_test.go
===================================================================
--- llvm/trunk/bindings/go/llvm/ir_test.go
+++ llvm/trunk/bindings/go/llvm/ir_test.go
@@ -30,7 +30,7 @@
fn.AddFunctionAttr(attr)
newattr := fn.GetEnumFunctionAttribute(kind)
if attr != newattr {
- t.Errorf("got attribute mask %d, want %d", newattr, attr)
+ t.Errorf("got attribute %p, want %p", newattr.C, attr.C)
}
text := mod.String()
@@ -41,7 +41,7 @@
fn.RemoveEnumFunctionAttribute(kind)
newattr = fn.GetEnumFunctionAttribute(kind)
if !newattr.IsNil() {
- t.Errorf("got attribute mask %d, want 0", newattr)
+ t.Errorf("got attribute %p, want 0", newattr.C)
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57672.185266.patch
Type: text/x-patch
Size: 706 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190205/73f0c98b/attachment.bin>
More information about the llvm-commits
mailing list