diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-05-24 21:27:44 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-05-24 21:27:44 -0400 |
| commit | 43085417bec447ab31f3454e180213f102885cc8 (patch) | |
| tree | 63f07e0cbb7014de96cf969cf20b6f8d80af9336 /src | |
| parent | af7073b7790ad055825ea2805cfd00b69f82f2fe (diff) | |
| download | zig-43085417bec447ab31f3454e180213f102885cc8.tar.gz zig-43085417bec447ab31f3454e180213f102885cc8.zip | |
update github.com/zig-lang to github.com/ziglang
Diffstat (limited to 'src')
| -rw-r--r-- | src/analyze.cpp | 4 | ||||
| -rw-r--r-- | src/codegen.cpp | 6 | ||||
| -rw-r--r-- | src/ir.cpp | 8 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp index d6137a4286..c59fde8ef6 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -1007,7 +1007,7 @@ TypeTableEntry *get_fn_type(CodeGen *g, FnTypeId *fn_type_id) { if (fn_type_id->return_type != nullptr) { ensure_complete_type(g, fn_type_id->return_type); } else { - zig_panic("TODO implement inferred return types https://github.com/zig-lang/zig/issues/447"); + zig_panic("TODO implement inferred return types https://github.com/ziglang/zig/issues/447"); } TypeTableEntry *fn_type = new_type_table_entry(TypeTableEntryIdFn); @@ -1556,7 +1556,7 @@ static TypeTableEntry *analyze_fn_type(CodeGen *g, AstNode *proto_node, Scope *c return g->builtin_types.entry_invalid; } add_node_error(g, proto_node, - buf_sprintf("TODO implement inferred return types https://github.com/zig-lang/zig/issues/447")); + buf_sprintf("TODO implement inferred return types https://github.com/ziglang/zig/issues/447")); return g->builtin_types.entry_invalid; //return get_generic_fn_type(g, &fn_type_id); } diff --git a/src/codegen.cpp b/src/codegen.cpp index f1e102392a..69542b3e67 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -582,7 +582,7 @@ static LLVMValueRef fn_llvm_value(CodeGen *g, FnTableEntry *fn_table_entry) { addLLVMArgAttr(fn_table_entry->llvm_value, (unsigned)gen_index, "nonnull"); } // Note: byval is disabled on windows due to an LLVM bug: - // https://github.com/zig-lang/zig/issues/536 + // https://github.com/ziglang/zig/issues/536 if (is_byval && g->zig_target.os != OsWindows) { addLLVMArgAttr(fn_table_entry->llvm_value, (unsigned)gen_index, "byval"); } @@ -3067,7 +3067,7 @@ static LLVMValueRef ir_render_call(CodeGen *g, IrExecutable *executable, IrInstr for (size_t param_i = 0; param_i < fn_type_id->param_count; param_i += 1) { FnGenParamInfo *gen_info = &fn_type->data.fn.gen_param_info[param_i]; // Note: byval is disabled on windows due to an LLVM bug: - // https://github.com/zig-lang/zig/issues/536 + // https://github.com/ziglang/zig/issues/536 if (gen_info->is_byval && g->zig_target.os != OsWindows) { addLLVMCallsiteAttr(result, (unsigned)gen_info->gen_index, "byval"); } @@ -6730,7 +6730,7 @@ static void init(CodeGen *g) { const char *target_specific_features; if (g->is_native_target) { // LLVM creates invalid binaries on Windows sometimes. - // See https://github.com/zig-lang/zig/issues/508 + // See https://github.com/ziglang/zig/issues/508 // As a workaround we do not use target native features on Windows. if (g->zig_target.os == OsWindows) { target_specific_cpu_args = ""; diff --git a/src/ir.cpp b/src/ir.cpp index e2cbba48a7..440063d58d 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -12130,7 +12130,7 @@ static bool ir_analyze_fn_call_generic_arg(IrAnalyze *ira, AstNode *fn_proto_nod casted_arg->value.type->id == TypeTableEntryIdNumLitFloat) { ir_add_error(ira, casted_arg, - buf_sprintf("compiler bug: integer and float literals in var args function must be casted. https://github.com/zig-lang/zig/issues/557")); + buf_sprintf("compiler bug: integer and float literals in var args function must be casted. https://github.com/ziglang/zig/issues/557")); return false; } @@ -12331,7 +12331,7 @@ static TypeTableEntry *ir_analyze_fn_call(IrAnalyze *ira, IrInstructionCall *cal if (fn_proto_node->data.fn_proto.is_var_args) { ir_add_error(ira, &call_instruction->base, - buf_sprintf("compiler bug: unable to call var args function at compile time. https://github.com/zig-lang/zig/issues/313")); + buf_sprintf("compiler bug: unable to call var args function at compile time. https://github.com/ziglang/zig/issues/313")); return ira->codegen->builtin_types.entry_invalid; } @@ -12424,7 +12424,7 @@ static TypeTableEntry *ir_analyze_fn_call(IrAnalyze *ira, IrInstructionCall *cal } if (call_instruction->is_async && fn_type_id->is_var_args) { ir_add_error(ira, call_instruction->fn_ref, - buf_sprintf("compiler bug: TODO: implement var args async functions. https://github.com/zig-lang/zig/issues/557")); + buf_sprintf("compiler bug: TODO: implement var args async functions. https://github.com/ziglang/zig/issues/557")); return ira->codegen->builtin_types.entry_invalid; } @@ -12507,7 +12507,7 @@ static TypeTableEntry *ir_analyze_fn_call(IrAnalyze *ira, IrInstructionCall *cal VariableTableEntry *arg_var = get_fn_var_by_index(parent_fn_entry, arg_tuple_i); if (arg_var == nullptr) { ir_add_error(ira, arg, - buf_sprintf("compiler bug: var args can't handle void. https://github.com/zig-lang/zig/issues/557")); + buf_sprintf("compiler bug: var args can't handle void. https://github.com/ziglang/zig/issues/557")); return ira->codegen->builtin_types.entry_invalid; } IrInstruction *arg_var_ptr_inst = ir_get_var_ptr(ira, arg, arg_var, true, false); |
