zig fmt
This commit is contained in:
@@ -1337,7 +1337,7 @@ test "shuffleVectorIndex" {
|
||||
|
||||
/// Returns whether `error_union` contains an error.
|
||||
pub fn isError(error_union: anytype) bool {
|
||||
return if(error_union) |_| false else |_| true;
|
||||
return if (error_union) |_| false else |_| true;
|
||||
}
|
||||
|
||||
test "isError" {
|
||||
|
||||
@@ -2358,7 +2358,6 @@ fn transInitListExprVector(
|
||||
expr: *const clang.InitListExpr,
|
||||
ty: *const clang.Type,
|
||||
) TransError!Node {
|
||||
|
||||
const qt = getExprQualType(c, @ptrCast(*const clang.Expr, expr));
|
||||
const vector_type = try transQualType(c, scope, qt, loc);
|
||||
const init_count = expr.getNumInits();
|
||||
|
||||
Reference in New Issue
Block a user