├── .gitattributes ├── .gitignore ├── .vscode ├── launch.json └── tasks.json ├── LICENSE ├── README.md ├── bin ├── configure.sh ├── crt.s ├── driver.sh ├── install.sh └── make.sh ├── include ├── ast │ ├── ast.h │ ├── back_ast.h │ ├── back_symt.h │ ├── front_ast.h │ ├── front_symt.h │ └── interm_ast.h ├── backend │ ├── assembly │ │ ├── asm_gen.h │ │ ├── registers.h │ │ ├── stack_fix.h │ │ └── symt_cvt.h │ └── emitter │ │ └── gas_code.h ├── frontend │ ├── intermediate │ │ ├── idents.h │ │ ├── semantic.h │ │ └── tac_repr.h │ └── parser │ │ ├── errors.h │ │ ├── lexer.h │ │ └── parser.h ├── optimization │ ├── optim_tac.h │ └── reg_alloc.h └── util │ ├── c_std.h │ ├── fileio.h │ ├── pprint.h │ ├── str2t.h │ └── throw.h ├── lib ├── sds │ ├── sds.c │ ├── sds.h │ └── sdsalloc.h ├── stb_ds │ ├── stb_ds.c │ └── stb_ds.h └── tinydir │ └── tinydir.h ├── src ├── ast │ ├── ast.c │ ├── ast_t.h │ ├── back_ast.c │ ├── back_symt.c │ ├── front_ast.c │ ├── front_symt.c │ └── interm_ast.c ├── backend │ ├── assembly │ │ ├── asm_gen.c │ │ ├── registers.c │ │ ├── regs.h │ │ ├── stack_fix.c │ │ └── symt_cvt.c │ └── emitter │ │ └── gas_code.c ├── frontend │ ├── intermediate │ │ ├── idents.c │ │ ├── labels.h │ │ ├── messages.h │ │ ├── semantic.c │ │ └── tac_repr.c │ └── parser │ │ ├── errors.c │ │ ├── lexer.c │ │ ├── messages.h │ │ ├── parser.c │ │ └── tokens.h ├── main.c ├── optimization │ ├── impl_olvl.h │ ├── optim_tac.c │ └── reg_alloc.c └── util │ ├── fileio.c │ ├── pprint.c │ ├── str2t.c │ └── throw.c └── test ├── build.sh ├── get-dependencies.sh ├── test-all.sh ├── test-compiler.sh ├── test-errors.sh ├── test-memory.sh ├── test-preprocessor.sh ├── tests ├── compiler │ ├── 10_file-scope_variables_and_storage-class_specifiers │ │ ├── invalid_declarations │ │ │ ├── conflicting_local_declarations.c │ │ │ ├── extern_follows_local_var.c │ │ │ ├── extern_follows_static_local_var.c │ │ │ ├── local_var_follows_extern.c │ │ │ ├── out_of_scope_extern_var.c │ │ │ ├── redefine_param_as_identifier_with_linkage.c │ │ │ └── undeclared_global_variable.c │ │ ├── invalid_labels │ │ │ └── extra_credit │ │ │ │ └── goto_global_var.c │ │ ├── invalid_parse │ │ │ ├── extern_param.c │ │ │ ├── extra_credit │ │ │ │ ├── extern_label.c │ │ │ │ ├── file_scope_label.c │ │ │ │ └── static_label.c │ │ │ ├── missing_parameter_list.c │ │ │ ├── missing_type_specifier.c │ │ │ ├── multi_storage_class_fun.c │ │ │ ├── multi_storage_class_var.c │ │ │ ├── static_and_extern.c │ │ │ └── static_param.c │ │ ├── invalid_types │ │ │ ├── conflicting_function_linkage.c │ │ │ ├── conflicting_function_linkage_2.c │ │ │ ├── conflicting_global_definitions.c │ │ │ ├── conflicting_variable_linkage.c │ │ │ ├── conflicting_variable_linkage_2.c │ │ │ ├── extern_for_loop_counter.c │ │ │ ├── extern_variable_initializer.c │ │ │ ├── extra_credit │ │ │ │ └── static_var_case.c │ │ │ ├── non_constant_static_initializer.c │ │ │ ├── non_constant_static_local_initializer.c │ │ │ ├── redeclare_file_scope_var_as_fun.c │ │ │ ├── redeclare_fun_as_file_scope_var.c │ │ │ ├── redeclare_fun_as_var.c │ │ │ ├── static_block_scope_function_declaration.c │ │ │ ├── static_for_loop_counter.c │ │ │ └── use_file_scope_variable_as_fun.c │ │ └── valid │ │ │ ├── distinct_local_and_extern.c │ │ │ ├── extern_block_scope_variable.c │ │ │ ├── extra_credit │ │ │ ├── bitwise_ops_file_scope_vars.c │ │ │ ├── compound_assignment_static_var.c │ │ │ ├── goto_skip_static_initializer.c │ │ │ ├── increment_global_vars.c │ │ │ ├── label_file_scope_var_same_name.c │ │ │ ├── label_static_var_same_name.c │ │ │ ├── libraries │ │ │ │ ├── same_label_same_fun.c │ │ │ │ └── same_label_same_fun_client.c │ │ │ ├── switch_on_extern.c │ │ │ ├── switch_skip_extern_decl.c │ │ │ └── switch_skip_static_initializer.c │ │ │ ├── libraries │ │ │ ├── external_linkage_function.c │ │ │ ├── external_linkage_function_client.c │ │ │ ├── external_tentative_var.c │ │ │ ├── external_tentative_var_client.c │ │ │ ├── external_var_scoping.c │ │ │ ├── external_var_scoping_client.c │ │ │ ├── external_variable.c │ │ │ ├── external_variable_client.c │ │ │ ├── internal_hides_external_linkage.c │ │ │ ├── internal_hides_external_linkage_client.c │ │ │ ├── internal_linkage_function.c │ │ │ ├── internal_linkage_function_client.c │ │ │ ├── internal_linkage_var.c │ │ │ └── internal_linkage_var_client.c │ │ │ ├── multiple_static_file_scope_vars.c │ │ │ ├── multiple_static_local.c │ │ │ ├── push_arg_on_page_boundary.c │ │ │ ├── push_arg_on_page_boundary_linux.s │ │ │ ├── push_arg_on_page_boundary_osx.s │ │ │ ├── shadow_static_local_var.c │ │ │ ├── static_local_multiple_scopes.c │ │ │ ├── static_local_uninitialized.c │ │ │ ├── static_recursive_call.c │ │ │ ├── static_then_extern.c │ │ │ ├── static_variables_in_expressions.c │ │ │ ├── tentative_definition.c │ │ │ └── type_before_storage_class.c │ ├── 11_long_integers │ │ ├── invalid_labels │ │ │ └── extra_credit │ │ │ │ ├── bitshift_duplicate_cases.c │ │ │ │ ├── switch_duplicate_cases.c │ │ │ │ └── switch_duplicate_cases_2.c │ │ ├── invalid_lex │ │ │ ├── invalid_suffix.c │ │ │ └── invalid_suffix2.c │ │ ├── invalid_parse │ │ │ ├── bad_specifiers.c │ │ │ ├── empty_cast.c │ │ │ ├── fun_name_long.c │ │ │ ├── invalid_cast.c │ │ │ ├── invalid_suffix.c │ │ │ ├── long_constant_as_var.c │ │ │ ├── missing_cast_parentheses.c │ │ │ └── var_name_long.c │ │ ├── invalid_types │ │ │ ├── call_long_as_function.c │ │ │ ├── cast_lvalue.c │ │ │ ├── conflicting_function_types.c │ │ │ ├── conflicting_global_types.c │ │ │ └── conflicting_variable_types.c │ │ └── valid │ │ │ ├── explicit_casts │ │ │ ├── sign_extend.c │ │ │ └── truncate.c │ │ │ ├── extra_credit │ │ │ ├── bitshift.c │ │ │ ├── bitwise_long_op.c │ │ │ ├── compound_assign_to_int.c │ │ │ ├── compound_assign_to_long.c │ │ │ ├── compound_bitshift.c │ │ │ ├── compound_bitwise.c │ │ │ ├── increment_long.c │ │ │ ├── switch_int.c │ │ │ └── switch_long.c │ │ │ ├── implicit_casts │ │ │ ├── common_type.c │ │ │ ├── convert_by_assignment.c │ │ │ ├── convert_function_arguments.c │ │ │ ├── convert_static_initializer.c │ │ │ └── long_constants.c │ │ │ ├── libraries │ │ │ ├── long_args.c │ │ │ ├── long_args_client.c │ │ │ ├── long_global_var.c │ │ │ ├── long_global_var_client.c │ │ │ ├── maintain_stack_alignment.c │ │ │ ├── maintain_stack_alignment_client.c │ │ │ ├── return_long.c │ │ │ └── return_long_client.c │ │ │ └── long_expressions │ │ │ ├── arithmetic_ops.c │ │ │ ├── assign.c │ │ │ ├── comparisons.c │ │ │ ├── large_constants.c │ │ │ ├── logical.c │ │ │ ├── long_and_int_locals.c │ │ │ ├── long_args.c │ │ │ ├── multi_op.c │ │ │ ├── return_long.c │ │ │ ├── rewrite_large_multiply_regression.c │ │ │ ├── simple.c │ │ │ ├── static_long.c │ │ │ └── type_specifiers.c │ ├── 12_unsigned_integers │ │ ├── invalid_labels │ │ │ └── extra_credit │ │ │ │ └── switch_duplicate_cases.c │ │ ├── invalid_lex │ │ │ ├── invalid_suffix.c │ │ │ └── invalid_suffix_2.c │ │ ├── invalid_parse │ │ │ ├── bad_specifiers.c │ │ │ └── bad_specifiers_2.c │ │ ├── invalid_types │ │ │ ├── conflicting_signed_unsigned.c │ │ │ └── conflicting_uint_ulong.c │ │ └── valid │ │ │ ├── explicit_casts │ │ │ ├── chained_casts.c │ │ │ ├── extension.c │ │ │ ├── rewrite_movz_regression.c │ │ │ ├── round_trip_casts.c │ │ │ ├── same_size_conversion.c │ │ │ └── truncate.c │ │ │ ├── extra_credit │ │ │ ├── bitwise_unsigned_ops.c │ │ │ ├── bitwise_unsigned_shift.c │ │ │ ├── compound_assign_uint.c │ │ │ ├── compound_bitshift.c │ │ │ ├── compound_bitwise.c │ │ │ ├── postfix_precedence.c │ │ │ ├── switch_uint.c │ │ │ └── unsigned_incr_decr.c │ │ │ ├── implicit_casts │ │ │ ├── common_type.c │ │ │ ├── convert_by_assignment.c │ │ │ ├── promote_constants.c │ │ │ └── static_initializers.c │ │ │ ├── libraries │ │ │ ├── unsigned_args.c │ │ │ ├── unsigned_args_client.c │ │ │ ├── unsigned_global_var.c │ │ │ └── unsigned_global_var_client.c │ │ │ ├── type_specifiers │ │ │ ├── signed_type_specifiers.c │ │ │ └── unsigned_type_specifiers.c │ │ │ └── unsigned_expressions │ │ │ ├── arithmetic_ops.c │ │ │ ├── arithmetic_wraparound.c │ │ │ ├── comparisons.c │ │ │ ├── locals.c │ │ │ ├── logical.c │ │ │ ├── simple.c │ │ │ └── static_variables.c │ ├── 13_floating-point_numbers │ │ ├── invalid_lex │ │ │ ├── another_bad_constant.c │ │ │ ├── bad_exponent_suffix.c │ │ │ ├── malformed_const.c │ │ │ ├── malformed_exponent.c │ │ │ ├── missing_exponent.c │ │ │ ├── missing_negative_exponent.c │ │ │ └── yet_another_bad_constant.c │ │ ├── invalid_parse │ │ │ ├── invalid_type_specifier.c │ │ │ └── invalid_type_specifier_2.c │ │ ├── invalid_types │ │ │ ├── complement_double.c │ │ │ ├── extra_credit │ │ │ │ ├── bitwise_and.c │ │ │ │ ├── bitwise_or.c │ │ │ │ ├── bitwise_shift_double.c │ │ │ │ ├── bitwise_shift_double_2.c │ │ │ │ ├── bitwise_xor.c │ │ │ │ ├── compound_bitwise_and.c │ │ │ │ ├── compound_bitwise_xor.c │ │ │ │ ├── compound_left_bitshift.c │ │ │ │ ├── compound_mod.c │ │ │ │ ├── compound_mod_2.c │ │ │ │ ├── compound_right_bitshift.c │ │ │ │ ├── switch_double_case.c │ │ │ │ └── switch_on_double.c │ │ │ ├── mod_double.c │ │ │ └── mod_double_2.c │ │ └── valid │ │ │ ├── constants │ │ │ ├── constant_doubles.c │ │ │ └── round_constants.c │ │ │ ├── explicit_casts │ │ │ ├── cvttsd2si_rewrite.c │ │ │ ├── double_to_signed.c │ │ │ ├── double_to_unsigned.c │ │ │ ├── rewrite_cvttsd2si_regression.c │ │ │ ├── signed_to_double.c │ │ │ └── unsigned_to_double.c │ │ │ ├── extra_credit │ │ │ ├── compound_assign.c │ │ │ ├── compound_assign_implicit_cast.c │ │ │ ├── incr_and_decr.c │ │ │ ├── nan__+lm.c │ │ │ ├── nan__+lm_linux.s │ │ │ ├── nan__+lm_osx.s │ │ │ ├── nan_compound_assign__+lm.c │ │ │ ├── nan_compound_assign__+lm_linux.s │ │ │ ├── nan_compound_assign__+lm_osx.s │ │ │ ├── nan_incr_and_decr__+lm.c │ │ │ ├── nan_incr_and_decr__+lm_linux.s │ │ │ └── nan_incr_and_decr__+lm_osx.s │ │ │ ├── floating_expressions │ │ │ ├── arithmetic_ops.c │ │ │ ├── comparisons.c │ │ │ ├── logical.c │ │ │ ├── loop_controlling_expression.c │ │ │ ├── simple.c │ │ │ └── static_initialized_double.c │ │ │ ├── function_calls │ │ │ ├── double_and_int_parameters.c │ │ │ ├── double_and_int_params_recursive.c │ │ │ ├── double_parameters.c │ │ │ ├── push_xmm.c │ │ │ ├── return_double.c │ │ │ ├── standard_library_call__+lm.c │ │ │ └── use_arg_after_fun_call.c │ │ │ ├── implicit_casts │ │ │ ├── common_type.c │ │ │ ├── complex_arithmetic_common_type.c │ │ │ ├── convert_for_assignment.c │ │ │ └── static_initializers.c │ │ │ ├── libraries │ │ │ ├── double_and_int_params_recursive.c │ │ │ ├── double_and_int_params_recursive_client.c │ │ │ ├── double_parameters.c │ │ │ ├── double_parameters_client.c │ │ │ ├── double_params_and_result__+lm.c │ │ │ ├── double_params_and_result__+lm_client.c │ │ │ ├── extern_double.c │ │ │ ├── extern_double_client.c │ │ │ ├── use_arg_after_fun_call.c │ │ │ └── use_arg_after_fun_call_client.c │ │ │ └── special_values │ │ │ ├── infinity.c │ │ │ ├── negative_zero__+lm.c │ │ │ └── subnormal_not_zero.c │ ├── 14_pointers │ │ ├── invalid_declarations │ │ │ └── extra_credit │ │ │ │ ├── addr_of_label.c │ │ │ │ └── deref_label.c │ │ ├── invalid_parse │ │ │ ├── abstract_function_declarator.c │ │ │ ├── cast_to_declarator.c │ │ │ ├── malformed_abstract_declarator.c │ │ │ ├── malformed_declarator.c │ │ │ ├── malformed_function_declarator.c │ │ │ └── malformed_function_declarator_2.c │ │ ├── invalid_types │ │ │ ├── address_of_address.c │ │ │ ├── address_of_assignment.c │ │ │ ├── address_of_constant.c │ │ │ ├── address_of_ternary.c │ │ │ ├── assign_int_to_pointer.c │ │ │ ├── assign_int_var_to_pointer.c │ │ │ ├── assign_to_address.c │ │ │ ├── assign_wrong_pointer_type.c │ │ │ ├── bad_null_pointer_constant.c │ │ │ ├── cast_double_to_pointer.c │ │ │ ├── cast_pointer_to_double.c │ │ │ ├── compare_mixed_pointer_types.c │ │ │ ├── compare_pointer_to_ulong.c │ │ │ ├── complement_pointer.c │ │ │ ├── dereference_non_pointer.c │ │ │ ├── divide_pointer.c │ │ │ ├── extra_credit │ │ │ │ ├── bitwise_and_pointer.c │ │ │ │ ├── bitwise_compound_assign_to_pointer.c │ │ │ │ ├── bitwise_compound_assign_with_pointer.c │ │ │ │ ├── bitwise_lshift_pointer.c │ │ │ │ ├── bitwise_or_pointer.c │ │ │ │ ├── bitwise_rshift_pointer.c │ │ │ │ ├── bitwise_xor_pointer.c │ │ │ │ ├── compound_assign_thru_ptr_not_lval.c │ │ │ │ ├── compound_assignment_not_lval.c │ │ │ │ ├── compound_divide_pointer.c │ │ │ │ ├── compound_mod_pointer.c │ │ │ │ ├── compound_multiply_pointer.c │ │ │ │ ├── postfix_decr_not_lvalue.c │ │ │ │ ├── prefix_incr_not_lvalue.c │ │ │ │ └── switch_on_pointer.c │ │ │ ├── invalid_pointer_initializer.c │ │ │ ├── invalid_static_initializer.c │ │ │ ├── multiply_pointers.c │ │ │ ├── multiply_pointers_2.c │ │ │ ├── negate_pointer.c │ │ │ ├── pass_pointer_as_int.c │ │ │ ├── return_wrong_pointer_type.c │ │ │ └── ternary_mixed_pointer_types.c │ │ └── valid │ │ │ ├── casts │ │ │ ├── cast_between_pointer_types.c │ │ │ ├── null_pointer_conversion.c │ │ │ └── pointer_int_casts.c │ │ │ ├── comparisons │ │ │ ├── compare_pointers.c │ │ │ ├── compare_to_null.c │ │ │ └── pointers_as_conditions.c │ │ │ ├── declarators │ │ │ ├── abstract_declarators.c │ │ │ ├── declarators.c │ │ │ └── declare_pointer_in_for_loop.c │ │ │ ├── dereference │ │ │ ├── address_of_dereference.c │ │ │ ├── dereference_expression_result.c │ │ │ ├── multilevel_indirection.c │ │ │ ├── read_through_pointers.c │ │ │ ├── simple.c │ │ │ ├── static_var_indirection.c │ │ │ └── update_through_pointers.c │ │ │ ├── extra_credit │ │ │ ├── bitshift_dereferenced_ptrs.c │ │ │ ├── bitwise_ops_with_dereferenced_ptrs.c │ │ │ ├── compound_assign_conversion.c │ │ │ ├── compound_assign_through_pointer.c │ │ │ ├── compound_bitwise_dereferenced_ptrs.c │ │ │ ├── eval_compound_lhs_once.c │ │ │ ├── incr_and_decr_through_pointer.c │ │ │ └── switch_dereferenced_pointer.c │ │ │ ├── function_calls │ │ │ ├── address_of_argument.c │ │ │ ├── return_pointer.c │ │ │ └── update_value_through_pointer_parameter.c │ │ │ └── libraries │ │ │ ├── global_pointer.c │ │ │ ├── global_pointer_client.c │ │ │ ├── static_pointer.c │ │ │ └── static_pointer_client.c │ ├── 15_arrays_and_pointer_arithmetic │ │ ├── invalid_parse │ │ │ ├── array_of_functions.c │ │ │ ├── array_of_functions_2.c │ │ │ ├── double_declarator.c │ │ │ ├── empty_initializer_list.c │ │ │ ├── malformed_abstract_array_declarator.c │ │ │ ├── malformed_abstract_array_declarator_2.c │ │ │ ├── malformed_array_declarator.c │ │ │ ├── malformed_array_declarator_2.c │ │ │ ├── malformed_array_declarator_3.c │ │ │ ├── malformed_type_name.c │ │ │ ├── malformed_type_name_2.c │ │ │ ├── mismatched_subscript.c │ │ │ ├── negative_array_dimension.c │ │ │ ├── parenthesized_array_of_functions.c │ │ │ ├── return_array.c │ │ │ ├── unclosed_initializer.c │ │ │ ├── unclosed_nested_initializer.c │ │ │ └── unclosed_subscript.c │ │ ├── invalid_types │ │ │ ├── add_two_pointers.c │ │ │ ├── assign_incompatible_pointer_types.c │ │ │ ├── assign_to_array.c │ │ │ ├── assign_to_array_2.c │ │ │ ├── assign_to_array_3.c │ │ │ ├── bad_arg_type.c │ │ │ ├── cast_to_array_type.c │ │ │ ├── cast_to_array_type_2.c │ │ │ ├── cast_to_array_type_3.c │ │ │ ├── compare_different_pointer_types.c │ │ │ ├── compare_explicit_and_implict_addr.c │ │ │ ├── compare_pointer_to_int.c │ │ │ ├── compare_pointer_to_zero.c │ │ │ ├── compound_initializer_for_scalar.c │ │ │ ├── compound_initializer_for_static_scalar.c │ │ │ ├── compound_initializer_too_long_static.c │ │ │ ├── compound_inititializer_too_long.c │ │ │ ├── conflicting_array_declarations.c │ │ │ ├── conflicting_function_declarations.c │ │ │ ├── double_subscript.c │ │ │ ├── extra_credit │ │ │ │ ├── compound_add_double_to_pointer.c │ │ │ │ ├── compound_add_two_pointers.c │ │ │ │ ├── compound_assign_to_array.c │ │ │ │ ├── compound_assign_to_nested_array.c │ │ │ │ ├── compound_sub_pointer_from_int.c │ │ │ │ ├── postfix_incr_array.c │ │ │ │ ├── postfix_incr_nested_array.c │ │ │ │ ├── prefix_decr_array.c │ │ │ │ ├── prefix_decr_nested_array.c │ │ │ │ └── switch_on_array.c │ │ │ ├── function_returns_array.c │ │ │ ├── incompatible_elem_type_compound_init.c │ │ │ ├── incompatible_elem_type_static_compound_init.c │ │ │ ├── null_ptr_array_initializer.c │ │ │ ├── null_ptr_static_array_initializer.c │ │ │ ├── scalar_initializer_for_array.c │ │ │ ├── scalar_initializer_for_static_array.c │ │ │ ├── static_non_const_array.c │ │ │ ├── sub_different_pointer_types.c │ │ │ ├── sub_double_from_ptr.c │ │ │ ├── sub_ptr_from_int.c │ │ │ ├── subscript_both_pointers.c │ │ │ └── subscript_non_ptr.c │ │ └── valid │ │ │ ├── allocation │ │ │ └── test_alignment.c │ │ │ ├── casts │ │ │ ├── cast_array_of_pointers.c │ │ │ ├── implicit_and_explicit_conversions.c │ │ │ └── multi_dim_casts.c │ │ │ ├── declarators │ │ │ ├── array_as_argument.c │ │ │ ├── big_array.c │ │ │ ├── equivalent_declarators.c │ │ │ ├── for_loop_array.c │ │ │ └── return_nested_array.c │ │ │ ├── extra_credit │ │ │ ├── bitwise_subscript.c │ │ │ ├── compound_assign_and_increment.c │ │ │ ├── compound_assign_array_of_pointers.c │ │ │ ├── compound_assign_to_nested_subscript.c │ │ │ ├── compound_assign_to_subscripted_val.c │ │ │ ├── compound_bitwise_subscript.c │ │ │ ├── compound_lval_evaluated_once.c │ │ │ ├── compound_nested_pointer_assignment.c │ │ │ ├── compound_pointer_assignment.c │ │ │ ├── incr_and_decr_nested_pointers.c │ │ │ ├── incr_and_decr_pointers.c │ │ │ ├── incr_decr_subscripted_vals.c │ │ │ └── postfix_prefix_precedence.c │ │ │ ├── initialization │ │ │ ├── automatic.c │ │ │ ├── automatic_nested.c │ │ │ ├── static.c │ │ │ ├── static_nested.c │ │ │ └── trailing_comma_initializer.c │ │ │ ├── libraries │ │ │ ├── global_array.c │ │ │ ├── global_array_client.c │ │ │ ├── return_pointer_to_array.c │ │ │ ├── return_pointer_to_array_client.c │ │ │ ├── set_array_val.c │ │ │ └── set_array_val_client.c │ │ │ ├── pointer_arithmetic │ │ │ ├── add_dereference_and_assign.c │ │ │ ├── compare.c │ │ │ ├── pointer_add.c │ │ │ └── pointer_diff.c │ │ │ └── subscripting │ │ │ ├── addition_subscript_equivalence.c │ │ │ ├── array_of_pointers_to_arrays.c │ │ │ ├── complex_operands.c │ │ │ ├── simple.c │ │ │ ├── simple_subscripts.c │ │ │ ├── subscript_nested.c │ │ │ ├── subscript_pointer.c │ │ │ └── subscript_precedence.c │ ├── 16_characters_and_strings │ │ ├── invalid_labels │ │ │ └── extra_credit │ │ │ │ └── duplicate_case_char_const.c │ │ ├── invalid_lex │ │ │ ├── char_bad_escape_sequence.c │ │ │ ├── newline.c │ │ │ ├── string_bad_escape_sequence.c │ │ │ ├── unescaped_backslash.c │ │ │ ├── unescaped_double_quote.c │ │ │ ├── unescaped_single_quote.c │ │ │ ├── unterminated_char_constant.c │ │ │ └── unterminated_string.c │ │ ├── invalid_parse │ │ │ ├── extra_credit │ │ │ │ ├── character_const_goto.c │ │ │ │ ├── character_const_label.c │ │ │ │ ├── string_literal_goto.c │ │ │ │ └── string_literal_label.c │ │ │ ├── invalid_type_specifier.c │ │ │ ├── invalid_type_specifier_2.c │ │ │ ├── misplaced_char_literal.c │ │ │ └── string_literal_varname.c │ │ ├── invalid_types │ │ │ ├── assign_to_string_literal.c │ │ │ ├── char_and_schar_conflict.c │ │ │ ├── char_and_uchar_conflict.c │ │ │ ├── compound_initializer_for_pointer.c │ │ │ ├── extra_credit │ │ │ │ ├── bit_shift_string.c │ │ │ │ ├── bitwise_operation_on_string.c │ │ │ │ ├── case_statement_string.c │ │ │ │ ├── compound_assign_from_string.c │ │ │ │ ├── compound_assign_to_string.c │ │ │ │ ├── postfix_incr_string.c │ │ │ │ ├── prefix_incr_string.c │ │ │ │ └── switch_on_string.c │ │ │ ├── implicit_conversion_between_char_pointers.c │ │ │ ├── implicit_conversion_pointers_to_different_size_arrays.c │ │ │ ├── negate_char_pointer.c │ │ │ ├── string_initializer_for_multidim_array.c │ │ │ ├── string_initializer_too_long.c │ │ │ ├── string_initializer_too_long_nested.c │ │ │ ├── string_initializer_too_long_nested_static.c │ │ │ ├── string_initializer_too_long_static.c │ │ │ ├── string_initializer_wrong_type.c │ │ │ ├── string_initializer_wrong_type_nested.c │ │ │ ├── string_initializer_wrong_type_nested_static.c │ │ │ ├── string_literal_is_plain_char_pointer.c │ │ │ └── string_literal_is_plain_char_pointer_static.c │ │ └── valid │ │ │ ├── char_constants │ │ │ ├── char_constant_operations.c │ │ │ ├── control_characters.c │ │ │ ├── escape_sequences.c │ │ │ └── return_char_constant.c │ │ │ ├── chars │ │ │ ├── access_through_char_pointer.c │ │ │ ├── chained_casts.c │ │ │ ├── char_arguments.c │ │ │ ├── char_expressions.c │ │ │ ├── common_type.c │ │ │ ├── convert_by_assignment.c │ │ │ ├── explicit_casts.c │ │ │ ├── integer_promotion.c │ │ │ ├── partial_initialization.c │ │ │ ├── push_arg_on_page_boundary.c │ │ │ ├── push_arg_on_page_boundary_linux.s │ │ │ ├── push_arg_on_page_boundary_osx.s │ │ │ ├── return_char.c │ │ │ ├── rewrite_movz_regression.c │ │ │ ├── static_initializers.c │ │ │ └── type_specifiers.c │ │ │ ├── extra_credit │ │ │ ├── bitshift_chars.c │ │ │ ├── bitwise_ops_character_constants.c │ │ │ ├── bitwise_ops_chars.c │ │ │ ├── char_consts_as_cases.c │ │ │ ├── compound_assign_chars.c │ │ │ ├── compound_bitwise_ops_chars.c │ │ │ ├── incr_decr_chars.c │ │ │ ├── incr_decr_unsigned_chars.c │ │ │ ├── promote_switch_cond.c │ │ │ ├── promote_switch_cond_2.c │ │ │ └── switch_on_char_const.c │ │ │ ├── libraries │ │ │ ├── char_arguments.c │ │ │ ├── char_arguments_client.c │ │ │ ├── global_char.c │ │ │ ├── global_char_client.c │ │ │ ├── return_char.c │ │ │ └── return_char_client.c │ │ │ ├── strings_as_initializers │ │ │ ├── adjacent_strings_in_initializer.c │ │ │ ├── array_init_special_chars.c │ │ │ ├── literals_and_compound_initializers.c │ │ │ ├── partial_initialize_via_string.c │ │ │ ├── simple.c │ │ │ ├── terminating_null_bytes.c │ │ │ ├── test_alignment.c │ │ │ ├── transfer_by_eightbyte.c │ │ │ └── write_to_array.c │ │ │ └── strings_as_lvalues │ │ │ ├── addr_of_string.c │ │ │ ├── adjacent_strings.c │ │ │ ├── array_of_strings.c │ │ │ ├── cast_string_pointer.c │ │ │ ├── empty_string.c │ │ │ ├── pointer_operations.c │ │ │ ├── simple.c │ │ │ ├── standard_library_calls.c │ │ │ ├── string_special_characters.c │ │ │ └── strings_in_function_calls.c │ ├── 17_supporting_dynamic_memory_allocation │ │ ├── invalid_parse │ │ │ ├── bad_specifier.c │ │ │ ├── bad_specifier_2.c │ │ │ ├── sizeof_cast.c │ │ │ └── sizeof_type_no_parens.c │ │ ├── invalid_types │ │ │ ├── extra_credit │ │ │ │ ├── bitshift_void.c │ │ │ │ ├── bitwise_void.c │ │ │ │ ├── compound_add_void_pointer.c │ │ │ │ ├── compound_sub_void_pointer.c │ │ │ │ ├── compound_void_rval.c │ │ │ │ ├── compound_void_rval_add.c │ │ │ │ ├── compound_void_rval_bitshift.c │ │ │ │ ├── postfix_decr_void.c │ │ │ │ ├── postfix_decr_void_pointer.c │ │ │ │ ├── postfix_incr_void_pointer.c │ │ │ │ ├── prefix_decr_void_pointer.c │ │ │ │ ├── prefix_incr_void.c │ │ │ │ ├── prefix_incr_void_pointer.c │ │ │ │ └── switch_void.c │ │ │ ├── incomplete_types │ │ │ │ ├── add_void_pointer.c │ │ │ │ ├── sizeof_function.c │ │ │ │ ├── sizeof_void.c │ │ │ │ ├── sizeof_void_array.c │ │ │ │ ├── sizeof_void_expression.c │ │ │ │ ├── sub_void_pointer.c │ │ │ │ ├── subscript_void.c │ │ │ │ ├── subscript_void_pointer_conditional.c │ │ │ │ ├── void_array.c │ │ │ │ ├── void_array_in_cast.c │ │ │ │ ├── void_array_in_param_type.c │ │ │ │ ├── void_array_nested_in_declaration.c │ │ │ │ ├── void_array_pointer_in_declaration.c │ │ │ │ └── void_array_pointer_in_param_type.c │ │ │ ├── pointer_conversions │ │ │ │ ├── compare_void_ptr_to_int.c │ │ │ │ ├── compare_void_to_other_pointer.c │ │ │ │ ├── convert_ulong_to_void_ptr.c │ │ │ │ ├── convert_void_ptr_to_int.c │ │ │ │ └── usual_arithmetic_conversions_ptr.c │ │ │ ├── scalar_expressions │ │ │ │ ├── and_void.c │ │ │ │ ├── cast_void.c │ │ │ │ ├── not_void.c │ │ │ │ ├── or_void.c │ │ │ │ ├── void_condition_do_loop.c │ │ │ │ ├── void_condition_for_loop.c │ │ │ │ ├── void_condition_while_loop.c │ │ │ │ ├── void_if_condition.c │ │ │ │ └── void_ternary_condition.c │ │ │ └── void │ │ │ │ ├── assign_to_void_lvalue.c │ │ │ │ ├── assign_to_void_var.c │ │ │ │ ├── assign_void_rval.c │ │ │ │ ├── define_void.c │ │ │ │ ├── initialized_void.c │ │ │ │ ├── mismatched_conditional.c │ │ │ │ ├── negate_void.c │ │ │ │ ├── no_return_value.c │ │ │ │ ├── non_void_return.c │ │ │ │ ├── return_void_as_pointer.c │ │ │ │ ├── subscript_void.c │ │ │ │ ├── void_compare.c │ │ │ │ ├── void_equality.c │ │ │ │ └── void_fun_params.c │ │ └── valid │ │ │ ├── extra_credit │ │ │ ├── sizeof_bitwise.c │ │ │ ├── sizeof_compound.c │ │ │ ├── sizeof_compound_bitwise.c │ │ │ └── sizeof_incr.c │ │ │ ├── libraries │ │ │ ├── pass_alloced_memory.c │ │ │ ├── pass_alloced_memory_client.c │ │ │ ├── sizeof_extern.c │ │ │ ├── sizeof_extern_client.c │ │ │ ├── test_for_memory_leaks.c │ │ │ └── test_for_memory_leaks_client.c │ │ │ ├── sizeof │ │ │ ├── simple.c │ │ │ ├── sizeof_array.c │ │ │ ├── sizeof_basic_types.c │ │ │ ├── sizeof_consts.c │ │ │ ├── sizeof_derived_types.c │ │ │ ├── sizeof_expressions.c │ │ │ ├── sizeof_not_evaluated.c │ │ │ └── sizeof_result_is_ulong.c │ │ │ ├── void │ │ │ ├── cast_to_void.c │ │ │ ├── ternary.c │ │ │ ├── void_for_loop.c │ │ │ └── void_function.c │ │ │ └── void_pointer │ │ │ ├── array_of_pointers_to_void.c │ │ │ ├── common_pointer_type.c │ │ │ ├── conversion_by_assignment.c │ │ │ ├── explicit_cast.c │ │ │ ├── memory_management_functions.c │ │ │ └── simple.c │ ├── 18_structures │ │ ├── invalid_lex │ │ │ ├── dot_bad_token.c │ │ │ └── dot_bad_token_2.c │ │ ├── invalid_parse │ │ │ ├── arrow_missing_member.c │ │ │ ├── dot_invalid_member.c │ │ │ ├── dot_no_left_expr.c │ │ │ ├── dot_operator_in_declarator.c │ │ │ ├── empty_initializer_list.c │ │ │ ├── extra_credit │ │ │ │ ├── case_struct_decl.c │ │ │ │ ├── default_kw_member_name.c │ │ │ │ ├── goto_kw_struct_tag.c │ │ │ │ ├── label_inside_struct_decl.c │ │ │ │ ├── labeled_struct_decl.c │ │ │ │ ├── struct_union.c │ │ │ │ ├── two_union_kws.c │ │ │ │ ├── union_bad_type_spec.c │ │ │ │ ├── union_decl_bad_type_specifier.c │ │ │ │ ├── union_decl_empty_member_list.c │ │ │ │ ├── union_decl_extra_semicolon.c │ │ │ │ ├── union_empty_initializer.c │ │ │ │ ├── union_member_initializer.c │ │ │ │ ├── union_member_is_function.c │ │ │ │ ├── union_member_name_kw.c │ │ │ │ ├── union_member_no_declarator.c │ │ │ │ ├── union_member_no_type.c │ │ │ │ ├── union_member_storage_class.c │ │ │ │ ├── union_struct_tag.c │ │ │ │ ├── union_two_tags.c │ │ │ │ ├── union_var_bad_tag.c │ │ │ │ └── union_var_tag_paren.c │ │ │ ├── misplaced_storage_class.c │ │ │ ├── struct_decl_double_semicolon.c │ │ │ ├── struct_decl_empty_member_list.c │ │ │ ├── struct_decl_extra_semicolon.c │ │ │ ├── struct_decl_kw_wrong_order.c │ │ │ ├── struct_decl_missing_end_semicolon.c │ │ │ ├── struct_decl_tag_kw.c │ │ │ ├── struct_decl_two_kws.c │ │ │ ├── struct_member_initializer.c │ │ │ ├── struct_member_is_function.c │ │ │ ├── struct_member_name_kw.c │ │ │ ├── struct_member_no_declarator.c │ │ │ ├── struct_member_no_semicolon.c │ │ │ ├── struct_member_no_type.c │ │ │ ├── struct_member_storage_class.c │ │ │ ├── var_decl_bad_tag_1.c │ │ │ ├── var_decl_bad_tag_2.c │ │ │ ├── var_decl_bad_type_specifier.c │ │ │ ├── var_decl_missing_struct_kw.c │ │ │ ├── var_decl_two_struct_kws.c │ │ │ └── var_decl_two_tags.c │ │ ├── invalid_struct_tags │ │ │ ├── array_of_undeclared.c │ │ │ ├── cast_undeclared.c │ │ │ ├── deref_undeclared.c │ │ │ ├── extra_credit │ │ │ │ ├── sizeof_undeclared_union.c │ │ │ │ └── var_undeclared_union_type.c │ │ │ ├── file_scope_var_type_undeclared.c │ │ │ ├── for_loop_scope.c │ │ │ ├── for_loop_scope_2.c │ │ │ ├── member_type_undeclared.c │ │ │ ├── param_undeclared.c │ │ │ ├── return_type_undeclared.c │ │ │ ├── sizeof_undeclared.c │ │ │ └── var_type_undeclared.c │ │ ├── invalid_types │ │ │ ├── extra_credit │ │ │ │ ├── bad_union_member_access │ │ │ │ │ ├── nested_non_member.c │ │ │ │ │ ├── union_bad_member.c │ │ │ │ │ └── union_bad_pointer_member.c │ │ │ │ ├── incompatible_union_types │ │ │ │ │ ├── assign_different_union_type.c │ │ │ │ │ ├── assign_scalar_to_union.c │ │ │ │ │ ├── return_type_mismatch.c │ │ │ │ │ ├── union_branch_mismatch.c │ │ │ │ │ └── union_pointer_branch_mismatch.c │ │ │ │ ├── incomplete_unions │ │ │ │ │ ├── define_incomplete_union.c │ │ │ │ │ └── sizeof_incomplete_union_type.c │ │ │ │ ├── invalid_union_lvalues │ │ │ │ │ ├── address_of_non_lvalue_union_member.c │ │ │ │ │ └── assign_non_lvalue_union_member.c │ │ │ │ ├── other_features │ │ │ │ │ ├── bitwise_op_structure.c │ │ │ │ │ ├── compound_assign_struct_rval.c │ │ │ │ │ ├── compound_assign_to_nested_struct.c │ │ │ │ │ ├── compound_assign_to_struct.c │ │ │ │ │ ├── duplicate_struct_types_after_label.c │ │ │ │ │ ├── postfix_decr_struct_arrow.c │ │ │ │ │ ├── postfix_incr_struct.c │ │ │ │ │ ├── prefix_decr_struct.c │ │ │ │ │ ├── prefix_incr_nested_struct.c │ │ │ │ │ └── switch_on_struct.c │ │ │ │ ├── scalar_required │ │ │ │ │ ├── cast_between_unions.c │ │ │ │ │ ├── cast_union_to_int.c │ │ │ │ │ ├── compare_unions.c │ │ │ │ │ ├── switch_on_union.c │ │ │ │ │ └── union_as_controlling_expression.c │ │ │ │ ├── union_initializers │ │ │ │ │ ├── initializer_too_long.c │ │ │ │ │ ├── nested_init_wrong_type.c │ │ │ │ │ ├── nested_union_init_too_long.c │ │ │ │ │ ├── scalar_union_initializer.c │ │ │ │ │ ├── static_aggregate_init_wrong_type.c │ │ │ │ │ ├── static_nested_init_not_const.c │ │ │ │ │ ├── static_nested_init_too_long.c │ │ │ │ │ ├── static_scalar_union_initializer.c │ │ │ │ │ ├── static_too_long.c │ │ │ │ │ ├── static_union_init_not_constant.c │ │ │ │ │ ├── static_union_init_wrong_type.c │ │ │ │ │ └── union_init_wrong_type.c │ │ │ │ ├── union_struct_conflicts │ │ │ │ │ ├── conflicting_tag_decl_and_use.c │ │ │ │ │ ├── conflicting_tag_decl_and_use_self_reference.c │ │ │ │ │ ├── conflicting_tag_declarations.c │ │ │ │ │ ├── struct_shadowed_by_union.c │ │ │ │ │ ├── tag_decl_conflicts_with_def.c │ │ │ │ │ ├── tag_def_conflicts_with_decl.c │ │ │ │ │ └── union_shadowed_by_incomplete_struct.c │ │ │ │ ├── union_tag_resolution │ │ │ │ │ ├── address_of_wrong_union_type.c │ │ │ │ │ ├── compare_struct_and_union_ptrs.c │ │ │ │ │ ├── conflicting_param_union_types.c │ │ │ │ │ ├── distinct_union_types.c │ │ │ │ │ ├── union_type_shadows_struct.c │ │ │ │ │ └── union_wrong_member.c │ │ │ │ └── union_type_declarations │ │ │ │ │ ├── array_of_incomplete_union_type.c │ │ │ │ │ ├── duplicate_union_def.c │ │ │ │ │ ├── incomplete_union_member.c │ │ │ │ │ ├── member_name_conflicts.c │ │ │ │ │ └── union_self_reference.c │ │ │ ├── incompatible_types │ │ │ │ ├── assign_different_pointer_type.c │ │ │ │ ├── assign_different_struct_type.c │ │ │ │ ├── branch_mismatch.c │ │ │ │ ├── branch_mismatch_2.c │ │ │ │ ├── compare_different_struct_pointers.c │ │ │ │ ├── return_wrong_struct_type.c │ │ │ │ ├── struct_param_mismatch.c │ │ │ │ └── struct_pointer_param_mismatch.c │ │ │ ├── initializers │ │ │ │ ├── compound_initializer_too_long.c │ │ │ │ ├── init_struct_with_string.c │ │ │ │ ├── initialize_nested_static_struct_member_wrong_type.c │ │ │ │ ├── initialize_static_struct_with_zero.c │ │ │ │ ├── initialize_struct_member_wrong_type.c │ │ │ │ ├── initialize_struct_with_scalar.c │ │ │ │ ├── initialize_struct_wrong_type.c │ │ │ │ ├── nested_compound_initializer_too_long.c │ │ │ │ ├── nested_static_compound_initializer_too_long.c │ │ │ │ ├── nested_struct_initializer_wrong_type.c │ │ │ │ ├── non_constant_static_elem_init.c │ │ │ │ ├── non_constant_static_init.c │ │ │ │ └── static_initializer_too_long.c │ │ │ ├── invalid_incomplete_structs │ │ │ │ ├── assign_to_incomplete_var.c │ │ │ │ ├── cast_incomplete_struct.c │ │ │ │ ├── deref_incomplete_struct_pointer.c │ │ │ │ ├── incomplete_arg_funcall.c │ │ │ │ ├── incomplete_array_element.c │ │ │ │ ├── incomplete_local_var.c │ │ │ │ ├── incomplete_param.c │ │ │ │ ├── incomplete_ptr_addition.c │ │ │ │ ├── incomplete_ptr_subtraction.c │ │ │ │ ├── incomplete_return_type_fun_def.c │ │ │ │ ├── incomplete_return_type_funcall.c │ │ │ │ ├── incomplete_struct_conditional.c │ │ │ │ ├── incomplete_struct_full_expr.c │ │ │ │ ├── incomplete_struct_member.c │ │ │ │ ├── incomplete_subscript.c │ │ │ │ ├── incomplete_tentative_def.c │ │ │ │ ├── initialize_incomplete.c │ │ │ │ ├── sizeof_incomplete.c │ │ │ │ └── sizeof_incomplete_expr.c │ │ │ ├── invalid_lvalues │ │ │ │ ├── address_of_non_lvalue.c │ │ │ │ ├── assign_nested_non_lvalue.c │ │ │ │ ├── assign_to_array.c │ │ │ │ └── assign_to_non_lvalue.c │ │ │ ├── invalid_member_operators │ │ │ │ ├── arrow_pointer_to_non_struct.c │ │ │ │ ├── bad_member.c │ │ │ │ ├── bad_pointer_member.c │ │ │ │ ├── member_of_non_struct.c │ │ │ │ ├── member_pointer_non_struct_pointer.c │ │ │ │ ├── nested_arrow_pointer_to_non_struct.c │ │ │ │ └── postfix_precedence.c │ │ │ ├── invalid_struct_declaration │ │ │ │ ├── duplicate_member_name.c │ │ │ │ ├── duplicate_struct_declaration.c │ │ │ │ ├── incomplete_member.c │ │ │ │ ├── invalid_array_member.c │ │ │ │ ├── invalid_self_reference.c │ │ │ │ └── void_member.c │ │ │ ├── scalar_required │ │ │ │ ├── and_struct.c │ │ │ │ ├── assign_null_ptr_to_struct.c │ │ │ │ ├── assign_scalar_to_struct.c │ │ │ │ ├── cast_struct_to_scalar.c │ │ │ │ ├── cast_to_struct.c │ │ │ │ ├── compare_structs.c │ │ │ │ ├── not_struct.c │ │ │ │ ├── pass_struct_as_scalar_param.c │ │ │ │ ├── struct_as_int.c │ │ │ │ ├── struct_controlling_expression.c │ │ │ │ └── subscript_struct.c │ │ │ └── tag_resolution │ │ │ │ ├── address_of_wrong_type.c │ │ │ │ ├── conflicting_fun_param_types.c │ │ │ │ ├── conflicting_fun_ret_types.c │ │ │ │ ├── distinct_struct_types.c │ │ │ │ ├── incomplete_shadows_complete.c │ │ │ │ ├── incomplete_shadows_complete_cast.c │ │ │ │ ├── invalid_shadow_self_reference.c │ │ │ │ ├── member_name_wrong_scope.c │ │ │ │ ├── member_name_wrong_scope_nested.c │ │ │ │ ├── mismatched_return_type.c │ │ │ │ ├── shadow_struct.c │ │ │ │ └── shadowed_tag_branch_mismatch.c │ │ └── valid │ │ │ ├── extra_credit │ │ │ ├── libraries │ │ │ │ ├── classify_unions.c │ │ │ │ ├── classify_unions_client.c │ │ │ │ ├── param_passing.c │ │ │ │ ├── param_passing_client.c │ │ │ │ ├── static_union_inits.c │ │ │ │ ├── static_union_inits.h │ │ │ │ ├── static_union_inits_client.c │ │ │ │ ├── union_inits.c │ │ │ │ ├── union_inits.h │ │ │ │ ├── union_inits_client.c │ │ │ │ ├── union_lib.h │ │ │ │ ├── union_retvals.c │ │ │ │ └── union_retvals_client.c │ │ │ ├── member_access │ │ │ │ ├── nested_union_access.c │ │ │ │ ├── static_union_access.c │ │ │ │ ├── union_init_and_member_access.c │ │ │ │ └── union_temp_lifetime.c │ │ │ ├── other_features │ │ │ │ ├── bitwise_ops_struct_members.c │ │ │ │ ├── compound_assign_struct_members.c │ │ │ │ ├── decr_arrow_lexing.c │ │ │ │ ├── incr_struct_members.c │ │ │ │ ├── label_tag_member_namespace.c │ │ │ │ └── struct_decl_in_switch_statement.c │ │ │ ├── semantic_analysis │ │ │ │ ├── cast_union_to_void.c │ │ │ │ ├── decl_shadows_decl.c │ │ │ │ ├── incomplete_union_types.c │ │ │ │ ├── redeclare_union.c │ │ │ │ ├── struct_shadows_union.c │ │ │ │ ├── union_members_same_type.c │ │ │ │ ├── union_namespace.c │ │ │ │ ├── union_self_pointer.c │ │ │ │ └── union_shadows_struct.c │ │ │ ├── size_and_offset │ │ │ │ ├── compare_union_pointers.c │ │ │ │ └── union_sizes.c │ │ │ ├── union_copy │ │ │ │ ├── assign_to_union.c │ │ │ │ ├── copy_non_scalar_members.c │ │ │ │ ├── copy_thru_pointer.c │ │ │ │ └── unions_in_conditionals.c │ │ │ └── union_types.h │ │ │ ├── no_structure_parameters │ │ │ ├── libraries │ │ │ │ ├── array_of_structs.c │ │ │ │ ├── array_of_structs.h │ │ │ │ ├── array_of_structs_client.c │ │ │ │ ├── global_struct.c │ │ │ │ ├── global_struct.h │ │ │ │ ├── global_struct_client.c │ │ │ │ ├── initializers │ │ │ │ │ ├── auto_struct_initializers.c │ │ │ │ │ ├── auto_struct_initializers.h │ │ │ │ │ ├── auto_struct_initializers_client.c │ │ │ │ │ ├── nested_auto_struct_initializers.c │ │ │ │ │ ├── nested_auto_struct_initializers.h │ │ │ │ │ ├── nested_auto_struct_initializers_client.c │ │ │ │ │ ├── nested_static_struct_initializers.c │ │ │ │ │ ├── nested_static_struct_initializers.h │ │ │ │ │ ├── nested_static_struct_initializers_client.c │ │ │ │ │ ├── static_struct_initializers.c │ │ │ │ │ ├── static_struct_initializers.h │ │ │ │ │ └── static_struct_initializers_client.c │ │ │ │ ├── opaque_struct.c │ │ │ │ ├── opaque_struct_client.c │ │ │ │ ├── param_struct_pointer.c │ │ │ │ ├── param_struct_pointer.h │ │ │ │ ├── param_struct_pointer_client.c │ │ │ │ ├── return_struct_pointer.c │ │ │ │ ├── return_struct_pointer.h │ │ │ │ └── return_struct_pointer_client.c │ │ │ ├── parse_and_lex │ │ │ │ ├── postfix_precedence.c │ │ │ │ ├── space_around_struct_member.c │ │ │ │ ├── struct_member_looks_like_const.c │ │ │ │ └── trailing_comma.c │ │ │ ├── scalar_member_access │ │ │ │ ├── arrow.c │ │ │ │ ├── dot.c │ │ │ │ ├── linked_list.c │ │ │ │ ├── nested_struct.c │ │ │ │ └── static_structs.c │ │ │ ├── semantic_analysis │ │ │ │ ├── cast_struct_to_void.c │ │ │ │ ├── incomplete_structs.c │ │ │ │ ├── namespaces.c │ │ │ │ └── resolve_tags.c │ │ │ ├── size_and_offset_calculations │ │ │ │ ├── member_comparisons.c │ │ │ │ ├── member_offsets.c │ │ │ │ ├── sizeof_exps.c │ │ │ │ ├── sizeof_type.c │ │ │ │ └── struct_sizes.h │ │ │ ├── smoke_tests │ │ │ │ ├── simple.c │ │ │ │ └── static_vs_auto.c │ │ │ └── struct_copy │ │ │ │ ├── copy_struct.c │ │ │ │ ├── copy_struct_through_pointer.c │ │ │ │ ├── copy_struct_with_arrow_operator.c │ │ │ │ ├── copy_struct_with_dot_operator.c │ │ │ │ ├── stack_clobber.c │ │ │ │ └── structs.h │ │ │ ├── parameters │ │ │ ├── incomplete_param_type.c │ │ │ ├── libraries │ │ │ │ ├── classify_params.c │ │ │ │ ├── classify_params.h │ │ │ │ ├── classify_params_client.c │ │ │ │ ├── modify_param.c │ │ │ │ ├── modify_param.h │ │ │ │ ├── modify_param_client.c │ │ │ │ ├── param_calling_conventions.c │ │ │ │ ├── param_calling_conventions.h │ │ │ │ ├── param_calling_conventions_client.c │ │ │ │ ├── pass_struct.c │ │ │ │ ├── pass_struct.h │ │ │ │ ├── pass_struct_client.c │ │ │ │ ├── struct_sizes.c │ │ │ │ ├── struct_sizes.h │ │ │ │ └── struct_sizes_client.c │ │ │ ├── pass_args_on_page_boundary.c │ │ │ ├── pass_args_on_page_boundary_linux.s │ │ │ ├── pass_args_on_page_boundary_osx.s │ │ │ ├── simple.c │ │ │ └── stack_clobber.c │ │ │ └── params_and_returns │ │ │ ├── ignore_retval.c │ │ │ ├── libraries │ │ │ ├── access_retval_members.c │ │ │ ├── access_retval_members.h │ │ │ ├── access_retval_members_client.c │ │ │ ├── missing_retval.c │ │ │ ├── missing_retval.h │ │ │ ├── missing_retval_client.c │ │ │ ├── return_calling_conventions.c │ │ │ ├── return_calling_conventions.h │ │ │ ├── return_calling_conventions_client.c │ │ │ ├── retval_struct_sizes.c │ │ │ ├── retval_struct_sizes.h │ │ │ └── retval_struct_sizes_client.c │ │ │ ├── return_big_struct_on_page_boundary.c │ │ │ ├── return_big_struct_on_page_boundary_linux.s │ │ │ ├── return_big_struct_on_page_boundary_osx.s │ │ │ ├── return_incomplete_type.c │ │ │ ├── return_pointer_in_rax.c │ │ │ ├── return_pointer_in_rax_linux.s │ │ │ ├── return_pointer_in_rax_osx.s │ │ │ ├── return_space_overlap.c │ │ │ ├── return_space_overlap_linux.s │ │ │ ├── return_space_overlap_osx.s │ │ │ ├── return_struct_on_page_boundary.c │ │ │ ├── return_struct_on_page_boundary_linux.s │ │ │ ├── return_struct_on_page_boundary_osx.s │ │ │ ├── simple.c │ │ │ ├── stack_clobber.c │ │ │ └── temporary_lifetime.c │ ├── 19_optimizing_three_address_code_programs │ │ ├── constant_folding │ │ │ ├── all_types │ │ │ │ ├── extra_credit │ │ │ │ │ ├── cast_nan_not_executed.c │ │ │ │ │ ├── fold_bitwise_long.c │ │ │ │ │ ├── fold_bitwise_unsigned.c │ │ │ │ │ ├── fold_nan__+lm.c │ │ │ │ │ ├── fold_nan__+lm_linux.s │ │ │ │ │ ├── fold_nan__+lm_osx.s │ │ │ │ │ ├── return_nan__+lm.c │ │ │ │ │ ├── return_nan__+lm_linux.s │ │ │ │ │ └── return_nan__+lm_osx.s │ │ │ │ ├── fold_cast_from_double.c │ │ │ │ ├── fold_cast_to_double.c │ │ │ │ ├── fold_conditional_jump.c │ │ │ │ ├── fold_double.c │ │ │ │ ├── fold_double_cast_exception.c │ │ │ │ ├── fold_extensions_and_copies.c │ │ │ │ ├── fold_long.c │ │ │ │ ├── fold_truncate.c │ │ │ │ ├── fold_uint.c │ │ │ │ ├── fold_ulong.c │ │ │ │ └── negative_zero.c │ │ │ └── int_only │ │ │ │ ├── extra_credit │ │ │ │ └── fold_bitwise.c │ │ │ │ ├── fold_binary.c │ │ │ │ ├── fold_conditional_jump.c │ │ │ │ ├── fold_control_flow.c │ │ │ │ ├── fold_exception.c │ │ │ │ └── fold_unary.c │ │ ├── copy_propagation │ │ │ ├── all_types │ │ │ │ ├── alias_analysis.c │ │ │ │ ├── char_type_conversion.c │ │ │ │ ├── copy_struct.c │ │ │ │ ├── dont_propagate │ │ │ │ │ ├── copy_to_offset.c │ │ │ │ │ ├── dont_propagate_addr_of.c │ │ │ │ │ ├── static_are_aliased.c │ │ │ │ │ ├── store_kills_aliased.c │ │ │ │ │ ├── type_conversion.c │ │ │ │ │ └── zero_neg_zero_different.c │ │ │ │ ├── extra_credit │ │ │ │ │ ├── copy_union.c │ │ │ │ │ ├── dont_propagate │ │ │ │ │ │ ├── update_union_member.c │ │ │ │ │ │ └── update_union_member_2.c │ │ │ │ │ ├── pointer_compound_assignment.c │ │ │ │ │ ├── pointer_incr.c │ │ │ │ │ ├── redundant_nan_copy__+lm.c │ │ │ │ │ ├── redundant_nan_copy__+lm_linux.s │ │ │ │ │ ├── redundant_nan_copy__+lm_osx.s │ │ │ │ │ └── redundant_union_copy.c │ │ │ │ ├── funcall_kills_aliased.c │ │ │ │ ├── pointer_arithmetic.c │ │ │ │ ├── propagate_all_types.c │ │ │ │ ├── propagate_into_type_conversions.c │ │ │ │ ├── propagate_null_pointer.c │ │ │ │ ├── redundant_double_copies.c │ │ │ │ ├── redundant_struct_copies.c │ │ │ │ └── store_doesnt_kill.c │ │ │ └── int_only │ │ │ │ ├── constant_propagation.c │ │ │ │ ├── different_paths_same_copy.c │ │ │ │ ├── different_source_values_same_copy.c │ │ │ │ ├── dont_propagate │ │ │ │ ├── add_all_blocks_to_worklist.c │ │ │ │ ├── dest_killed.c │ │ │ │ ├── listing_19_14.c │ │ │ │ ├── multi_values.c │ │ │ │ ├── no_copies_reach_entry.c │ │ │ │ ├── one_reaching_copy.c │ │ │ │ ├── source_killed.c │ │ │ │ ├── source_killed_on_one_path.c │ │ │ │ ├── static_dst_killed.c │ │ │ │ └── static_src_killed.c │ │ │ │ ├── extra_credit │ │ │ │ ├── dont_propagate │ │ │ │ │ ├── decr_kills_dest.c │ │ │ │ │ └── switch_fallthrough.c │ │ │ │ ├── goto_define.c │ │ │ │ ├── prefix_result.c │ │ │ │ ├── propagate_from_default.c │ │ │ │ └── propagate_into_case.c │ │ │ │ ├── fig_19_8.c │ │ │ │ ├── init_all_copies.c │ │ │ │ ├── kill_and_add_copies.c │ │ │ │ ├── killed_then_redefined.c │ │ │ │ ├── multi_path_no_kill.c │ │ │ │ ├── nested_loops.c │ │ │ │ ├── propagate_into_complex_expressions.c │ │ │ │ ├── propagate_params.c │ │ │ │ ├── propagate_static.c │ │ │ │ ├── propagate_static_var.c │ │ │ │ ├── propagate_var.c │ │ │ │ └── redundant_copies.c │ │ ├── dead_store_elimination │ │ │ ├── all_types │ │ │ │ ├── aliased_dead_at_exit.c │ │ │ │ ├── copy_to_dead_struct.c │ │ │ │ ├── delete_dead_pt_ii_instructions.c │ │ │ │ ├── dont_elim │ │ │ │ │ ├── copytooffset_doesnt_kill.c │ │ │ │ │ ├── funcall_generates_aliased.c │ │ │ │ │ ├── load_generates_aliased.c │ │ │ │ │ ├── never_kill_store.c │ │ │ │ │ ├── recognize_all_uses.c │ │ │ │ │ └── use_and_update.c │ │ │ │ ├── extra_credit │ │ │ │ │ ├── compound_assign_to_dead_struct_member.c │ │ │ │ │ ├── copy_to_dead_union.c │ │ │ │ │ ├── decr_struct_member.c │ │ │ │ │ └── dont_elim │ │ │ │ │ │ ├── copy_generates_union.c │ │ │ │ │ │ ├── incr_through_pointer.c │ │ │ │ │ │ └── type_punning.c │ │ │ │ └── getaddr_doesnt_gen.c │ │ │ └── int_only │ │ │ │ ├── dead_store_static_var.c │ │ │ │ ├── delete_arithmetic_ops.c │ │ │ │ ├── dont_elim │ │ │ │ ├── add_all_to_worklist.c │ │ │ │ ├── dont_remove_funcall.c │ │ │ │ ├── loop.c │ │ │ │ ├── nested_loops.c │ │ │ │ ├── recognize_all_uses.c │ │ │ │ ├── self_copy.c │ │ │ │ ├── static_vars_at_exit.c │ │ │ │ ├── static_vars_fun.c │ │ │ │ └── used_one_path.c │ │ │ │ ├── elim_second_copy.c │ │ │ │ ├── extra_credit │ │ │ │ ├── dead_compound_assignment.c │ │ │ │ ├── dead_incr_decr.c │ │ │ │ └── dont_elim │ │ │ │ │ └── incr_and_dead_store.c │ │ │ │ ├── fig_19_11.c │ │ │ │ ├── initialize_blocks_with_empty_set.c │ │ │ │ ├── loop_dead_store.c │ │ │ │ ├── simple.c │ │ │ │ ├── static_not_always_live.c │ │ │ │ ├── static_not_always_live_linux.s │ │ │ │ └── static_not_always_live_osx.s │ │ ├── unreachable_code_elimination │ │ │ ├── and_clause.c │ │ │ ├── constant_if_else.c │ │ │ ├── dead_after_if_else.c │ │ │ ├── dead_after_return.c │ │ │ ├── dead_blocks_with_predecessors.c │ │ │ ├── dead_branch_inside_loop.c │ │ │ ├── dead_for_loop.c │ │ │ ├── empty.c │ │ │ ├── empty_block.c │ │ │ ├── extra_credit │ │ │ │ ├── dead_before_first_switch_case.c │ │ │ │ ├── dead_in_switch_body.c │ │ │ │ ├── goto_skips_over_code.c │ │ │ │ ├── remove_unused_label.c │ │ │ │ └── unreachable_switch_body.c │ │ │ ├── infinite_loop.c │ │ │ ├── infinite_loop_linux.s │ │ │ ├── infinite_loop_osx.s │ │ │ ├── keep_final_jump.c │ │ │ ├── or_clause.c │ │ │ ├── remove_conditional_jumps.c │ │ │ ├── remove_jump_keep_label.c │ │ │ └── remove_useless_starting_label.c │ │ └── whole_pipeline │ │ │ ├── all_types │ │ │ ├── alias_analysis_change.c │ │ │ ├── extra_credit │ │ │ │ ├── eval_nan_condition.c │ │ │ │ ├── fold_compound_assign_all_types.c │ │ │ │ ├── fold_compound_bitwise_assign_all_types.c │ │ │ │ ├── fold_incr_decr_chars.c │ │ │ │ ├── fold_incr_decr_doubles.c │ │ │ │ ├── fold_incr_decr_unsigned.c │ │ │ │ ├── fold_negative_long_bitshift.c │ │ │ │ └── nan.c │ │ │ ├── fold_cast_from_double.c │ │ │ ├── fold_cast_to_double.c │ │ │ ├── fold_char_condition.c │ │ │ ├── fold_extension_and_truncation.c │ │ │ ├── fold_infinity.c │ │ │ ├── fold_negative_values.c │ │ │ ├── fold_negative_zero.c │ │ │ ├── integer_promotions.c │ │ │ ├── listing_19_5_more_types.c │ │ │ ├── propagate_into_copyfromoffset.c │ │ │ ├── propagate_into_copytooffset.c │ │ │ ├── propagate_into_load.c │ │ │ ├── propagate_into_store.c │ │ │ └── signed_unsigned_conversion.c │ │ │ └── int_only │ │ │ ├── dead_condition.c │ │ │ ├── elim_and_copy_prop.c │ │ │ ├── extra_credit │ │ │ ├── compound_assign_exceptions.c │ │ │ ├── evaluate_switch.c │ │ │ ├── fold_bitwise_compound_assignment.c │ │ │ ├── fold_compound_assignment.c │ │ │ ├── fold_incr_and_decr.c │ │ │ └── fold_negative_bitshift.c │ │ │ ├── int_min.c │ │ │ ├── listing_19_5.c │ │ │ └── remainder_test.c │ ├── 1_int_constants │ │ ├── invalid_lex │ │ │ ├── at_sign.c │ │ │ ├── backslash.c │ │ │ ├── backtick.c │ │ │ ├── invalid_identifier.c │ │ │ └── invalid_identifier_2.c │ │ ├── invalid_parse │ │ │ ├── end_before_expr.c │ │ │ ├── extra_junk.c │ │ │ ├── invalid_function_name.c │ │ │ ├── keyword_wrong_case.c │ │ │ ├── missing_type.c │ │ │ ├── misspelled_keyword.c │ │ │ ├── no_semicolon.c │ │ │ ├── not_expression.c │ │ │ ├── space_in_keyword.c │ │ │ ├── switched_parens.c │ │ │ ├── unclosed_brace.c │ │ │ └── unclosed_paren.c │ │ └── valid │ │ │ ├── multi_digit.c │ │ │ ├── newlines.c │ │ │ ├── no_newlines.c │ │ │ ├── return_0.c │ │ │ ├── return_2.c │ │ │ ├── spaces.c │ │ │ └── tabs.c │ ├── 20_register_allocation │ │ ├── all_types │ │ │ ├── no_coalescing │ │ │ │ ├── aliasing_optimized_away.c │ │ │ │ ├── aliasing_optimized_away_linux.s │ │ │ │ ├── aliasing_optimized_away_osx.s │ │ │ │ ├── dbl_bin_uses_operands.c │ │ │ │ ├── dbl_bin_uses_operands_linux.s │ │ │ │ ├── dbl_bin_uses_operands_osx.s │ │ │ │ ├── dbl_fun_call.c │ │ │ │ ├── dbl_fun_call_linux.s │ │ │ │ ├── dbl_fun_call_osx.s │ │ │ │ ├── dbl_funcall_generates_args.c │ │ │ │ ├── dbl_funcall_generates_args_linux.s │ │ │ │ ├── dbl_funcall_generates_args_osx.s │ │ │ │ ├── dbl_trivially_colorable.c │ │ │ │ ├── dbl_trivially_colorable_linux.s │ │ │ │ ├── dbl_trivially_colorable_osx.s │ │ │ │ ├── div_interference.c │ │ │ │ ├── div_interference_linux.s │ │ │ │ ├── div_interference_osx.s │ │ │ │ ├── div_uses_ax.c │ │ │ │ ├── div_uses_ax_linux.s │ │ │ │ ├── div_uses_ax_osx.s │ │ │ │ ├── force_spill_doubles.c │ │ │ │ ├── force_spill_doubles_linux.s │ │ │ │ ├── force_spill_doubles_osx.s │ │ │ │ ├── force_spill_mixed_ints.c │ │ │ │ ├── force_spill_mixed_ints_linux.s │ │ │ │ ├── force_spill_mixed_ints_osx.s │ │ │ │ ├── fourteen_pseudos_interfere.c │ │ │ │ ├── fourteen_pseudos_interfere_linux.s │ │ │ │ ├── fourteen_pseudos_interfere_osx.s │ │ │ │ ├── gp_xmm_mixed.c │ │ │ │ ├── gp_xmm_mixed_linux.s │ │ │ │ ├── gp_xmm_mixed_osx.s │ │ │ │ ├── indexed_operand_reads_regs.c │ │ │ │ ├── indexed_operand_reads_regs_linux.s │ │ │ │ ├── indexed_operand_reads_regs_osx.s │ │ │ │ ├── mixed_type_arg_registers.c │ │ │ │ ├── mixed_type_arg_registers_linux.s │ │ │ │ ├── mixed_type_arg_registers_osx.s │ │ │ │ ├── mixed_type_funcall_generates_args.c │ │ │ │ ├── mixed_type_funcall_generates_args_linux.s │ │ │ │ ├── mixed_type_funcall_generates_args_osx.s │ │ │ │ ├── mixed_type_stack_alignment.c │ │ │ │ ├── mixed_type_stack_alignment_linux.s │ │ │ │ ├── mixed_type_stack_alignment_osx.s │ │ │ │ ├── one_aliased_var.c │ │ │ │ ├── one_aliased_var_linux.s │ │ │ │ ├── one_aliased_var_osx.s │ │ │ │ ├── ptr_rax_live_at_exit.c │ │ │ │ ├── ptr_rax_live_at_exit_linux.s │ │ │ │ ├── ptr_rax_live_at_exit_osx.s │ │ │ │ ├── return_all_int_struct.c │ │ │ │ ├── return_all_int_struct_linux.s │ │ │ │ ├── return_all_int_struct_osx.s │ │ │ │ ├── return_double.c │ │ │ │ ├── return_double_linux.s │ │ │ │ ├── return_double_osx.s │ │ │ │ ├── return_double_struct.c │ │ │ │ ├── return_double_struct_linux.s │ │ │ │ ├── return_double_struct_osx.s │ │ │ │ ├── store_pointer_in_register.c │ │ │ │ ├── store_pointer_in_register_linux.s │ │ │ │ ├── store_pointer_in_register_osx.s │ │ │ │ ├── track_dbl_arg_registers.c │ │ │ │ ├── track_dbl_arg_registers_linux.s │ │ │ │ ├── track_dbl_arg_registers_osx.s │ │ │ │ ├── type_conversion_interference.c │ │ │ │ ├── type_conversion_interference_linux.s │ │ │ │ ├── type_conversion_interference_osx.s │ │ │ │ ├── xmm0_live_at_exit.c │ │ │ │ ├── xmm0_live_at_exit_linux.s │ │ │ │ └── xmm0_live_at_exit_osx.s │ │ │ ├── util.h │ │ │ └── with_coalescing │ │ │ │ ├── briggs_coalesce_long.c │ │ │ │ ├── briggs_coalesce_long_linux.s │ │ │ │ ├── briggs_coalesce_long_osx.s │ │ │ │ ├── briggs_coalesce_xmm.c │ │ │ │ ├── briggs_coalesce_xmm_linux.s │ │ │ │ ├── briggs_coalesce_xmm_osx.s │ │ │ │ ├── briggs_xmm_k_value.c │ │ │ │ ├── briggs_xmm_k_value_linux.s │ │ │ │ ├── briggs_xmm_k_value_osx.s │ │ │ │ ├── coalesce_char.c │ │ │ │ ├── coalesce_char_linux.s │ │ │ │ ├── coalesce_char_osx.s │ │ │ │ ├── dont_coalesce_movzx.c │ │ │ │ ├── dont_coalesce_movzx_linux.s │ │ │ │ ├── dont_coalesce_movzx_osx.s │ │ │ │ ├── george_coalesce_xmm.c │ │ │ │ ├── george_coalesce_xmm_linux.s │ │ │ │ ├── george_coalesce_xmm_osx.s │ │ │ │ ├── george_off_by_one_xmm.c │ │ │ │ ├── george_off_by_one_xmm_linux.s │ │ │ │ ├── george_off_by_one_xmm_osx.s │ │ │ │ ├── george_xmm_k_value.c │ │ │ │ ├── george_xmm_k_value_linux.s │ │ │ │ └── george_xmm_k_value_osx.s │ │ └── int_only │ │ │ ├── no_coalescing │ │ │ ├── bin_uses_operands.c │ │ │ ├── bin_uses_operands_linux.s │ │ │ ├── bin_uses_operands_osx.s │ │ │ ├── callee_saved_stack_alignment.c │ │ │ ├── callee_saved_stack_alignment_linux.s │ │ │ ├── callee_saved_stack_alignment_osx.s │ │ │ ├── cdq_interference.c │ │ │ ├── cmp_generates_operands.c │ │ │ ├── cmp_generates_operands_linux.s │ │ │ ├── cmp_generates_operands_osx.s │ │ │ ├── cmp_no_updates.c │ │ │ ├── cmp_no_updates_linux.s │ │ │ ├── cmp_no_updates_osx.s │ │ │ ├── copy_no_interference.c │ │ │ ├── copy_no_interference_linux.s │ │ │ ├── copy_no_interference_osx.s │ │ │ ├── division_uses_ax.c │ │ │ ├── division_uses_ax_linux.s │ │ │ ├── division_uses_ax_osx.s │ │ │ ├── eax_live_at_exit.c │ │ │ ├── eax_live_at_exit_linux.s │ │ │ ├── eax_live_at_exit_osx.s │ │ │ ├── force_spill.c │ │ │ ├── force_spill_linux.s │ │ │ ├── force_spill_osx.s │ │ │ ├── funcall_generates_args.c │ │ │ ├── funcall_generates_args_linux.s │ │ │ ├── funcall_generates_args_osx.s │ │ │ ├── idiv_interference.c │ │ │ ├── idiv_interference_linux.s │ │ │ ├── idiv_interference_osx.s │ │ │ ├── loop.c │ │ │ ├── loop_linux.s │ │ │ ├── loop_osx.s │ │ │ ├── many_pseudos_fewer_conflicts.c │ │ │ ├── many_pseudos_fewer_conflicts_linux.s │ │ │ ├── many_pseudos_fewer_conflicts_osx.s │ │ │ ├── optimistic_coloring.c │ │ │ ├── optimistic_coloring_linux.s │ │ │ ├── optimistic_coloring_osx.s │ │ │ ├── preserve_across_fun_call.c │ │ │ ├── preserve_across_fun_call_linux.s │ │ │ ├── preserve_across_fun_call_osx.s │ │ │ ├── rewrite_regression_test.c │ │ │ ├── rewrite_regression_test_linux.s │ │ │ ├── rewrite_regression_test_osx.s │ │ │ ├── same_instr_interference.c │ │ │ ├── same_instr_interference_linux.s │ │ │ ├── same_instr_interference_osx.s │ │ │ ├── same_instr_no_interference.c │ │ │ ├── same_instr_no_interference_linux.s │ │ │ ├── same_instr_no_interference_osx.s │ │ │ ├── test_spill_metric.c │ │ │ ├── test_spill_metric_2.c │ │ │ ├── test_spill_metric_2_linux.s │ │ │ ├── test_spill_metric_2_osx.s │ │ │ ├── test_spill_metric_linux.s │ │ │ ├── test_spill_metric_osx.s │ │ │ ├── track_arg_registers.c │ │ │ ├── track_arg_registers_linux.s │ │ │ ├── track_arg_registers_osx.s │ │ │ ├── trivially_colorable.c │ │ │ ├── trivially_colorable_linux.s │ │ │ ├── trivially_colorable_osx.s │ │ │ ├── unary_interference.c │ │ │ ├── unary_interference_linux.s │ │ │ ├── unary_interference_osx.s │ │ │ ├── unary_uses_operand.c │ │ │ ├── unary_uses_operand_linux.s │ │ │ ├── unary_uses_operand_osx.s │ │ │ ├── use_all_hardregs.c │ │ │ ├── use_all_hardregs_linux.s │ │ │ └── use_all_hardregs_osx.s │ │ │ ├── util.h │ │ │ └── with_coalescing │ │ │ ├── briggs_coalesce.c │ │ │ ├── briggs_coalesce_hardreg.c │ │ │ ├── briggs_coalesce_hardreg_linux.s │ │ │ ├── briggs_coalesce_hardreg_osx.s │ │ │ ├── briggs_coalesce_linux.s │ │ │ ├── briggs_coalesce_osx.s │ │ │ ├── briggs_dont_coalesce.c │ │ │ ├── briggs_dont_coalesce_linux.s │ │ │ ├── briggs_dont_coalesce_osx.s │ │ │ ├── coalesce_prevents_spill.c │ │ │ ├── coalesce_prevents_spill_linux.s │ │ │ ├── coalesce_prevents_spill_osx.s │ │ │ ├── george_coalesce.c │ │ │ ├── george_coalesce_linux.s │ │ │ ├── george_coalesce_osx.s │ │ │ ├── george_dont_coalesce.c │ │ │ ├── george_dont_coalesce_2.c │ │ │ ├── george_dont_coalesce_2_linux.s │ │ │ ├── george_dont_coalesce_2_osx.s │ │ │ ├── george_dont_coalesce_linux.s │ │ │ ├── george_dont_coalesce_osx.s │ │ │ ├── george_off_by_one.c │ │ │ ├── george_off_by_one_linux.s │ │ │ ├── george_off_by_one_osx.s │ │ │ ├── no_george_test_for_pseudos.c │ │ │ ├── no_george_test_for_pseudos_linux.s │ │ │ └── no_george_test_for_pseudos_osx.s │ ├── 2_unary_operators │ │ ├── invalid_parse │ │ │ ├── extra_paren.c │ │ │ ├── missing_const.c │ │ │ ├── missing_semicolon.c │ │ │ ├── nested_missing_const.c │ │ │ ├── parenthesize_operand.c │ │ │ ├── unclosed_paren.c │ │ │ └── wrong_order.c │ │ └── valid │ │ │ ├── bitwise.c │ │ │ ├── bitwise_int_min.c │ │ │ ├── bitwise_zero.c │ │ │ ├── neg.c │ │ │ ├── neg_zero.c │ │ │ ├── negate_int_max.c │ │ │ ├── nested_ops.c │ │ │ ├── nested_ops_2.c │ │ │ ├── parens.c │ │ │ ├── parens_2.c │ │ │ ├── parens_3.c │ │ │ └── redundant_parens.c │ ├── 3_binary_operators │ │ ├── invalid_parse │ │ │ ├── double_operation.c │ │ │ ├── extra_credit │ │ │ │ └── bitwise_double_operator.c │ │ │ ├── imbalanced_paren.c │ │ │ ├── malformed_paren.c │ │ │ ├── misplaced_semicolon.c │ │ │ ├── missing_first_op.c │ │ │ ├── missing_open_paren.c │ │ │ ├── missing_second_op.c │ │ │ └── no_semicolon.c │ │ └── valid │ │ │ ├── add.c │ │ │ ├── associativity.c │ │ │ ├── associativity_2.c │ │ │ ├── associativity_3.c │ │ │ ├── associativity_and_precedence.c │ │ │ ├── div.c │ │ │ ├── div_neg.c │ │ │ ├── extra_credit │ │ │ ├── bitwise_and.c │ │ │ ├── bitwise_or.c │ │ │ ├── bitwise_precedence.c │ │ │ ├── bitwise_shift_associativity.c │ │ │ ├── bitwise_shift_associativity_2.c │ │ │ ├── bitwise_shift_precedence.c │ │ │ ├── bitwise_shiftl.c │ │ │ ├── bitwise_shiftr.c │ │ │ ├── bitwise_shiftr_negative.c │ │ │ ├── bitwise_variable_shift_count.c │ │ │ └── bitwise_xor.c │ │ │ ├── mod.c │ │ │ ├── mult.c │ │ │ ├── parens.c │ │ │ ├── precedence.c │ │ │ ├── sub.c │ │ │ ├── sub_neg.c │ │ │ ├── unop_add.c │ │ │ └── unop_parens.c │ ├── 4_logical_and_relational_operators │ │ ├── invalid_parse │ │ │ ├── missing_const.c │ │ │ ├── missing_first_op.c │ │ │ ├── missing_operand.c │ │ │ ├── missing_second_op.c │ │ │ ├── missing_semicolon.c │ │ │ └── unary_missing_semicolon.c │ │ └── valid │ │ │ ├── and_false.c │ │ │ ├── and_short_circuit.c │ │ │ ├── and_true.c │ │ │ ├── associativity.c │ │ │ ├── compare_arithmetic_results.c │ │ │ ├── eq_false.c │ │ │ ├── eq_precedence.c │ │ │ ├── eq_true.c │ │ │ ├── extra_credit │ │ │ ├── bitwise_and_precedence.c │ │ │ ├── bitwise_or_precedence.c │ │ │ ├── bitwise_shift_precedence.c │ │ │ └── bitwise_xor_precedence.c │ │ │ ├── ge_false.c │ │ │ ├── ge_true.c │ │ │ ├── gt_false.c │ │ │ ├── gt_true.c │ │ │ ├── le_false.c │ │ │ ├── le_true.c │ │ │ ├── lt_false.c │ │ │ ├── lt_true.c │ │ │ ├── multi_short_circuit.c │ │ │ ├── ne_false.c │ │ │ ├── ne_true.c │ │ │ ├── nested_ops.c │ │ │ ├── not.c │ │ │ ├── not_sum.c │ │ │ ├── not_sum_2.c │ │ │ ├── not_zero.c │ │ │ ├── operate_on_booleans.c │ │ │ ├── or_false.c │ │ │ ├── or_short_circuit.c │ │ │ ├── or_true.c │ │ │ ├── precedence.c │ │ │ ├── precedence_2.c │ │ │ ├── precedence_3.c │ │ │ ├── precedence_4.c │ │ │ └── precedence_5.c │ ├── 5_local_variables │ │ ├── invalid_parse │ │ │ ├── compound_invalid_operator.c │ │ │ ├── declare_keyword_as_var.c │ │ │ ├── extra_credit │ │ │ │ ├── binary_decrement.c │ │ │ │ ├── binary_increment.c │ │ │ │ ├── compound_initializer.c │ │ │ │ └── increment_declaration.c │ │ │ ├── invalid_specifier.c │ │ │ ├── invalid_type.c │ │ │ ├── invalid_variable_name.c │ │ │ ├── malformed_compound_assignment.c │ │ │ ├── malformed_decrement.c │ │ │ ├── malformed_increment.c │ │ │ ├── malformed_less_equal.c │ │ │ ├── malformed_not_equal.c │ │ │ ├── missing_semicolon.c │ │ │ └── return_in_assignment.c │ │ ├── invalid_semantics │ │ │ ├── declared_after_use.c │ │ │ ├── extra_credit │ │ │ │ ├── compound_invalid_lvalue.c │ │ │ │ ├── compound_invalid_lvalue_2.c │ │ │ │ ├── postfix_decr_non_lvalue.c │ │ │ │ ├── postfix_incr_non_lvalue.c │ │ │ │ ├── prefix_decr_non_lvalue.c │ │ │ │ ├── prefix_incr_non_lvalue.c │ │ │ │ ├── undeclared_bitwise_op.c │ │ │ │ ├── undeclared_compound_assignment.c │ │ │ │ ├── undeclared_compound_assignment_use.c │ │ │ │ ├── undeclared_postfix_decr.c │ │ │ │ └── undeclared_prefix_incr.c │ │ │ ├── invalid_lvalue.c │ │ │ ├── invalid_lvalue_2.c │ │ │ ├── mixed_precedence_assignment.c │ │ │ ├── redefine.c │ │ │ ├── undeclared_var.c │ │ │ ├── undeclared_var_and.c │ │ │ ├── undeclared_var_compare.c │ │ │ ├── undeclared_var_unary.c │ │ │ └── use_then_redefine.c │ │ └── valid │ │ │ ├── add_variables.c │ │ │ ├── allocate_temps_and_vars.c │ │ │ ├── assign.c │ │ │ ├── assign_val_in_initializer.c │ │ │ ├── assignment_in_initializer.c │ │ │ ├── assignment_lowest_precedence.c │ │ │ ├── empty_function_body.c │ │ │ ├── exp_then_declaration.c │ │ │ ├── extra_credit │ │ │ ├── bitwise_in_initializer.c │ │ │ ├── bitwise_ops_vars.c │ │ │ ├── bitwise_shiftl_variable.c │ │ │ ├── bitwise_shiftr_assign.c │ │ │ ├── compound_assignment_chained.c │ │ │ ├── compound_assignment_lowest_precedence.c │ │ │ ├── compound_assignment_use_result.c │ │ │ ├── compound_bitwise_and.c │ │ │ ├── compound_bitwise_assignment_lowest_precedence.c │ │ │ ├── compound_bitwise_chained.c │ │ │ ├── compound_bitwise_or.c │ │ │ ├── compound_bitwise_shiftl.c │ │ │ ├── compound_bitwise_shiftr.c │ │ │ ├── compound_bitwise_xor.c │ │ │ ├── compound_divide.c │ │ │ ├── compound_minus.c │ │ │ ├── compound_mod.c │ │ │ ├── compound_multiply.c │ │ │ ├── compound_plus.c │ │ │ ├── incr_expression_statement.c │ │ │ ├── incr_in_binary_expr.c │ │ │ ├── incr_parenthesized.c │ │ │ ├── postfix_incr_and_decr.c │ │ │ ├── postfix_precedence.c │ │ │ └── prefix_incr_and_decr.c │ │ │ ├── kw_var_names.c │ │ │ ├── local_var_missing_return.c │ │ │ ├── mixed_precedence_assignment.c │ │ │ ├── non_short_circuit_or.c │ │ │ ├── null_statement.c │ │ │ ├── null_then_return.c │ │ │ ├── return_var.c │ │ │ ├── short_circuit_and_fail.c │ │ │ ├── short_circuit_or.c │ │ │ ├── unused_exp.c │ │ │ ├── use_assignment_result.c │ │ │ └── use_val_in_own_initializer.c │ ├── 6_statements_and_conditional_expressions │ │ ├── invalid_lex │ │ │ └── extra_credit │ │ │ │ └── bad_label.c │ │ ├── invalid_parse │ │ │ ├── declaration_as_statement.c │ │ │ ├── empty_if_body.c │ │ │ ├── extra_credit │ │ │ │ ├── goto_without_label.c │ │ │ │ ├── kw_label.c │ │ │ │ ├── label_declaration.c │ │ │ │ ├── label_expression_clause.c │ │ │ │ ├── label_outside_function.c │ │ │ │ ├── label_without_statement.c │ │ │ │ └── parenthesized_label.c │ │ │ ├── if_assignment.c │ │ │ ├── if_no_parens.c │ │ │ ├── incomplete_ternary.c │ │ │ ├── malformed_ternary.c │ │ │ ├── malformed_ternary_2.c │ │ │ ├── mismatched_nesting.c │ │ │ └── wrong_ternary_delimiter.c │ │ ├── invalid_semantics │ │ │ ├── extra_credit │ │ │ │ ├── duplicate_labels.c │ │ │ │ ├── goto_missing_label.c │ │ │ │ ├── goto_variable.c │ │ │ │ ├── undeclared_var_in_labeled_statement.c │ │ │ │ └── use_label_as_variable.c │ │ │ ├── invalid_var_in_if.c │ │ │ ├── ternary_assign.c │ │ │ └── undeclared_var_in_ternary.c │ │ └── valid │ │ │ ├── assign_ternary.c │ │ │ ├── binary_condition.c │ │ │ ├── binary_false_condition.c │ │ │ ├── else.c │ │ │ ├── extra_credit │ │ │ ├── bitwise_ternary.c │ │ │ ├── compound_assign_ternary.c │ │ │ ├── compound_if_expression.c │ │ │ ├── goto_after_declaration.c │ │ │ ├── goto_backwards.c │ │ │ ├── goto_label.c │ │ │ ├── goto_label_and_var.c │ │ │ ├── goto_label_main.c │ │ │ ├── goto_label_main_2.c │ │ │ ├── goto_nested_label.c │ │ │ ├── label_all_statements.c │ │ │ ├── label_token.c │ │ │ ├── lh_compound_assignment.c │ │ │ ├── postfix_if.c │ │ │ ├── postfix_in_ternary.c │ │ │ ├── prefix_if.c │ │ │ ├── prefix_in_ternary.c │ │ │ ├── unused_label.c │ │ │ └── whitespace_after_label.c │ │ │ ├── if_nested.c │ │ │ ├── if_nested_2.c │ │ │ ├── if_nested_3.c │ │ │ ├── if_nested_4.c │ │ │ ├── if_nested_5.c │ │ │ ├── if_not_taken.c │ │ │ ├── if_null_body.c │ │ │ ├── if_taken.c │ │ │ ├── lh_assignment.c │ │ │ ├── multiple_if.c │ │ │ ├── nested_ternary.c │ │ │ ├── nested_ternary_2.c │ │ │ ├── rh_assignment.c │ │ │ ├── ternary.c │ │ │ ├── ternary_middle_assignment.c │ │ │ ├── ternary_middle_binop.c │ │ │ ├── ternary_precedence.c │ │ │ ├── ternary_rh_binop.c │ │ │ ├── ternary_short_circuit.c │ │ │ └── ternary_short_circuit_2.c │ ├── 7_compound_statements │ │ ├── invalid_parse │ │ │ ├── extra_brace.c │ │ │ ├── missing_brace.c │ │ │ ├── missing_semicolon.c │ │ │ └── ternary_blocks.c │ │ ├── invalid_semantics │ │ │ ├── double_define.c │ │ │ ├── double_define_after_scope.c │ │ │ ├── extra_credit │ │ │ │ ├── different_labels_same_scope.c │ │ │ │ ├── duplicate_labels_different_scopes.c │ │ │ │ └── goto_use_before_declare.c │ │ │ ├── out_of_scope.c │ │ │ └── use_before_declare.c │ │ └── valid │ │ │ ├── assign_to_self.c │ │ │ ├── assign_to_self_2.c │ │ │ ├── declaration_only.c │ │ │ ├── empty_blocks.c │ │ │ ├── extra_credit │ │ │ ├── compound_subtract_in_block.c │ │ │ ├── goto_before_declaration.c │ │ │ ├── goto_inner_scope.c │ │ │ ├── goto_outer_scope.c │ │ │ └── goto_sibling_scope.c │ │ │ ├── hidden_then_visible.c │ │ │ ├── hidden_variable.c │ │ │ ├── inner_uninitialized.c │ │ │ ├── multiple_vars_same_name.c │ │ │ ├── nested_if.c │ │ │ ├── similar_var_names.c │ │ │ └── use_in_inner_scope.c │ ├── 8_loops │ │ ├── invalid_parse │ │ │ ├── decl_as_loop_body.c │ │ │ ├── do_extra_semicolon.c │ │ │ ├── do_missing_semicolon.c │ │ │ ├── do_while_empty_parens.c │ │ │ ├── extra_credit │ │ │ │ ├── compound_assignment_invalid_decl.c │ │ │ │ ├── label_in_loop_header.c │ │ │ │ ├── label_is_not_block.c │ │ │ │ ├── switch_case_declaration.c │ │ │ │ ├── switch_goto_case.c │ │ │ │ ├── switch_missing_case_value.c │ │ │ │ ├── switch_missing_paren.c │ │ │ │ └── switch_no_condition.c │ │ │ ├── extra_for_header_clause.c │ │ │ ├── invalid_for_declaration.c │ │ │ ├── missing_for_header_clause.c │ │ │ ├── missing_for_header_clauses.c │ │ │ ├── missing_for_header_semicolon.c │ │ │ ├── paren_mismatch.c │ │ │ ├── statement_in_condition.c │ │ │ └── while_missing_paren.c │ │ ├── invalid_semantics │ │ │ ├── break_not_in_loop.c │ │ │ ├── continue_not_in_loop.c │ │ │ ├── extra_credit │ │ │ │ ├── case_continue.c │ │ │ │ ├── case_outside_switch.c │ │ │ │ ├── default_continue.c │ │ │ │ ├── default_outside_switch.c │ │ │ │ ├── different_cases_same_scope.c │ │ │ │ ├── duplicate_case.c │ │ │ │ ├── duplicate_case_in_labeled_switch.c │ │ │ │ ├── duplicate_case_in_nested_statement.c │ │ │ │ ├── duplicate_default.c │ │ │ │ ├── duplicate_default_in_nested_statement.c │ │ │ │ ├── duplicate_label_in_default.c │ │ │ │ ├── duplicate_label_in_loop.c │ │ │ │ ├── duplicate_variable_in_switch.c │ │ │ │ ├── labeled_break_outside_loop.c │ │ │ │ ├── non_constant_case.c │ │ │ │ ├── switch_continue.c │ │ │ │ ├── undeclared_var_switch_expression.c │ │ │ │ ├── undeclared_variable_in_case.c │ │ │ │ ├── undeclared_variable_in_default.c │ │ │ │ └── undefined_label_in_case.c │ │ │ ├── out_of_scope_do_loop.c │ │ │ └── out_of_scope_loop_variable.c │ │ └── valid │ │ │ ├── break.c │ │ │ ├── break_immediate.c │ │ │ ├── continue.c │ │ │ ├── continue_empty_post.c │ │ │ ├── do_while.c │ │ │ ├── do_while_break_immediate.c │ │ │ ├── empty_expression.c │ │ │ ├── empty_loop_body.c │ │ │ ├── extra_credit │ │ │ ├── case_block.c │ │ │ ├── compound_assignment_controlling_expression.c │ │ │ ├── compound_assignment_for_loop.c │ │ │ ├── duffs_device.c │ │ │ ├── goto_bypass_condition.c │ │ │ ├── goto_bypass_init_exp.c │ │ │ ├── goto_bypass_post_exp.c │ │ │ ├── label_loop_body.c │ │ │ ├── label_loops_breaks_and_continues.c │ │ │ ├── loop_header_postfix_and_prefix.c │ │ │ ├── loop_in_switch.c │ │ │ ├── post_exp_incr.c │ │ │ ├── switch.c │ │ │ ├── switch_assign_in_condition.c │ │ │ ├── switch_break.c │ │ │ ├── switch_decl.c │ │ │ ├── switch_default.c │ │ │ ├── switch_default_fallthrough.c │ │ │ ├── switch_default_not_last.c │ │ │ ├── switch_default_only.c │ │ │ ├── switch_empty.c │ │ │ ├── switch_fallthrough.c │ │ │ ├── switch_goto_mid_case.c │ │ │ ├── switch_in_loop.c │ │ │ ├── switch_nested_cases.c │ │ │ ├── switch_nested_not_taken.c │ │ │ ├── switch_nested_switch.c │ │ │ ├── switch_no_case.c │ │ │ ├── switch_not_taken.c │ │ │ ├── switch_single_case.c │ │ │ ├── switch_with_continue.c │ │ │ └── switch_with_continue_2.c │ │ │ ├── for.c │ │ │ ├── for_absent_condition.c │ │ │ ├── for_absent_post.c │ │ │ ├── for_decl.c │ │ │ ├── for_nested_shadow.c │ │ │ ├── for_shadow.c │ │ │ ├── multi_break.c │ │ │ ├── multi_continue_same_loop.c │ │ │ ├── nested_break.c │ │ │ ├── nested_continue.c │ │ │ ├── nested_loop.c │ │ │ ├── null_for_header.c │ │ │ └── while.c │ └── 9_functions │ │ ├── invalid_declarations │ │ ├── assign_to_fun_call.c │ │ ├── decl_params_with_same_name.c │ │ ├── extra_credit │ │ │ ├── call_label_as_function.c │ │ │ ├── compound_assign_to_fun_call.c │ │ │ ├── decrement_fun_call.c │ │ │ └── increment_fun_call.c │ │ ├── nested_function_definition.c │ │ ├── params_with_same_name.c │ │ ├── redefine_fun_as_var.c │ │ ├── redefine_parameter.c │ │ ├── redefine_var_as_fun.c │ │ ├── undeclared_fun.c │ │ └── wrong_parameter_names.c │ │ ├── invalid_labels │ │ └── extra_credit │ │ │ ├── goto_cross_function.c │ │ │ └── goto_function.c │ │ ├── invalid_parse │ │ ├── call_non_identifier.c │ │ ├── decl_wrong_closing_delim.c │ │ ├── fun_decl_for_loop.c │ │ ├── funcall_wrong_closing_delim.c │ │ ├── function_call_declaration.c │ │ ├── function_returning_function.c │ │ ├── initialize_function_as_variable.c │ │ ├── trailing_comma.c │ │ ├── trailing_comma_decl.c │ │ ├── unclosed_paren_decl.c │ │ └── var_init_in_param_list.c │ │ ├── invalid_types │ │ ├── assign_fun_to_variable.c │ │ ├── assign_value_to_function.c │ │ ├── call_variable_as_function.c │ │ ├── conflicting_function_declarations.c │ │ ├── conflicting_local_function_declaration.c │ │ ├── divide_by_function.c │ │ ├── extra_credit │ │ │ ├── bitwise_op_function.c │ │ │ ├── compound_assign_function_lhs.c │ │ │ ├── compound_assign_function_rhs.c │ │ │ ├── postfix_incr_fun_name.c │ │ │ ├── prefix_decr_fun_name.c │ │ │ └── switch_on_function.c │ │ ├── multiple_function_definitions.c │ │ ├── multiple_function_definitions_2.c │ │ ├── too_few_args.c │ │ └── too_many_args.c │ │ └── valid │ │ ├── arguments_in_registers │ │ ├── dont_clobber_edx.c │ │ ├── expression_args.c │ │ ├── fibonacci.c │ │ ├── forward_decl_multi_arg.c │ │ ├── hello_world.c │ │ ├── param_shadows_local_var.c │ │ ├── parameter_shadows_function.c │ │ ├── parameter_shadows_own_function.c │ │ ├── parameters_are_preserved.c │ │ └── single_arg.c │ │ ├── extra_credit │ │ ├── compound_assign_function_result.c │ │ ├── dont_clobber_ecx.c │ │ ├── goto_label_multiple_functions.c │ │ ├── goto_shared_name.c │ │ └── label_naming_scheme.c │ │ ├── libraries │ │ ├── addition.c │ │ ├── addition_client.c │ │ ├── many_args.c │ │ ├── many_args_client.c │ │ ├── no_function_calls │ │ │ ├── division.c │ │ │ ├── division_client.c │ │ │ ├── local_stack_variables.c │ │ │ └── local_stack_variables_client.c │ │ ├── system_call.c │ │ └── system_call_client.c │ │ ├── no_arguments │ │ ├── forward_decl.c │ │ ├── function_shadows_variable.c │ │ ├── multiple_declarations.c │ │ ├── no_return_value.c │ │ ├── precedence.c │ │ ├── use_function_in_expression.c │ │ └── variable_shadows_function.c │ │ └── stack_arguments │ │ ├── call_putchar.c │ │ ├── lots_of_arguments.c │ │ ├── stack_alignment.c │ │ ├── stack_alignment_linux.s │ │ ├── stack_alignment_osx.s │ │ └── test_for_memory_leaks.c └── preprocessor │ └── preprocessor │ ├── 1 │ ├── 2 │ │ ├── 3 │ │ │ ├── 4 │ │ │ │ ├── 5 │ │ │ │ │ ├── 6 │ │ │ │ │ │ ├── 7 │ │ │ │ │ │ │ ├── 8 │ │ │ │ │ │ │ │ ├── 9 │ │ │ │ │ │ │ │ │ ├── 10 │ │ │ │ │ │ │ │ │ │ ├── 11 │ │ │ │ │ │ │ │ │ │ │ ├── 12 │ │ │ │ │ │ │ │ │ │ │ │ ├── 13 │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 14 │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 15 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 16 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 17 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 18 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 19 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 20 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 21 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 22 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 23 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 24 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 25 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 26 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 27 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 28 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 29 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 30 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 31 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 32 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 33 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 34 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 35 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 36 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 37 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 38 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 39 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 40 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 41 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 42 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 43 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 44 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 45 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 46 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 47 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 48 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 49 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 50 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 51 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 52 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 53 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 54 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 55 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 56 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 57 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 58 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 59 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 60 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 61 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── 62 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_62.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_61.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_60.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_59.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_58.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_57.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_56.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_55.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_54.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_53.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_52.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_51.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_50.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_49.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_48.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_47.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_46.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_45.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_44.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_43.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_42.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_41.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_40.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_39.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_38.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_37.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_36.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_35.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_34.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_33.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_32.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_31.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_30.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_29.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_28.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_27.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_26.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_25.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_24.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_23.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_22.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_21.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_20.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_19.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_18.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_17.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_16.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_15.h │ │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_14.h │ │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_13.h │ │ │ │ │ │ │ │ │ │ │ │ └── test-header_12.h │ │ │ │ │ │ │ │ │ │ │ └── test-header_11.h │ │ │ │ │ │ │ │ │ │ └── test-header_10.h │ │ │ │ │ │ │ │ │ └── test-header_9.h │ │ │ │ │ │ │ │ └── test-header_8.h │ │ │ │ │ │ │ └── test-header_7.h │ │ │ │ │ │ └── test-header_6.h │ │ │ │ │ └── test-header_5.h │ │ │ │ └── test-header_4.h │ │ │ └── test-header_3.h │ │ └── test-header_2.h │ └── test-header_1.h │ ├── main.c │ ├── test-header_0.h │ └── test-header_63.h └── tools ├── .clang-format ├── build.sh ├── check_idlen.py ├── format.sh ├── get-tests-macos.sh ├── get-tests.sh ├── print-errors.sh ├── print_errors.in ├── profile.sh ├── replace_all.sh ├── test-suite.sh └── time-performance.sh /.gitattributes: -------------------------------------------------------------------------------- 1 | test/tests/** linguist-vendored 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/README.md -------------------------------------------------------------------------------- /bin/configure.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/bin/configure.sh -------------------------------------------------------------------------------- /bin/crt.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/bin/crt.s -------------------------------------------------------------------------------- /bin/driver.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/bin/driver.sh -------------------------------------------------------------------------------- /bin/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/bin/install.sh -------------------------------------------------------------------------------- /bin/make.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/bin/make.sh -------------------------------------------------------------------------------- /include/ast/ast.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/ast/ast.h -------------------------------------------------------------------------------- /include/ast/back_ast.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/ast/back_ast.h -------------------------------------------------------------------------------- /include/ast/back_symt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/ast/back_symt.h -------------------------------------------------------------------------------- /include/ast/front_ast.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/ast/front_ast.h -------------------------------------------------------------------------------- /include/ast/front_symt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/ast/front_symt.h -------------------------------------------------------------------------------- /include/ast/interm_ast.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/ast/interm_ast.h -------------------------------------------------------------------------------- /include/backend/assembly/asm_gen.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/backend/assembly/asm_gen.h -------------------------------------------------------------------------------- /include/backend/assembly/registers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/backend/assembly/registers.h -------------------------------------------------------------------------------- /include/backend/assembly/stack_fix.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/backend/assembly/stack_fix.h -------------------------------------------------------------------------------- /include/backend/assembly/symt_cvt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/backend/assembly/symt_cvt.h -------------------------------------------------------------------------------- /include/backend/emitter/gas_code.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/backend/emitter/gas_code.h -------------------------------------------------------------------------------- /include/frontend/intermediate/idents.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/frontend/intermediate/idents.h -------------------------------------------------------------------------------- /include/frontend/intermediate/semantic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/frontend/intermediate/semantic.h -------------------------------------------------------------------------------- /include/frontend/intermediate/tac_repr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/frontend/intermediate/tac_repr.h -------------------------------------------------------------------------------- /include/frontend/parser/errors.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/frontend/parser/errors.h -------------------------------------------------------------------------------- /include/frontend/parser/lexer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/frontend/parser/lexer.h -------------------------------------------------------------------------------- /include/frontend/parser/parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/frontend/parser/parser.h -------------------------------------------------------------------------------- /include/optimization/optim_tac.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/optimization/optim_tac.h -------------------------------------------------------------------------------- /include/optimization/reg_alloc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/optimization/reg_alloc.h -------------------------------------------------------------------------------- /include/util/c_std.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/util/c_std.h -------------------------------------------------------------------------------- /include/util/fileio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/util/fileio.h -------------------------------------------------------------------------------- /include/util/pprint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/util/pprint.h -------------------------------------------------------------------------------- /include/util/str2t.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/util/str2t.h -------------------------------------------------------------------------------- /include/util/throw.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/include/util/throw.h -------------------------------------------------------------------------------- /lib/sds/sds.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/lib/sds/sds.c -------------------------------------------------------------------------------- /lib/sds/sds.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/lib/sds/sds.h -------------------------------------------------------------------------------- /lib/sds/sdsalloc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/lib/sds/sdsalloc.h -------------------------------------------------------------------------------- /lib/stb_ds/stb_ds.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/lib/stb_ds/stb_ds.c -------------------------------------------------------------------------------- /lib/stb_ds/stb_ds.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/lib/stb_ds/stb_ds.h -------------------------------------------------------------------------------- /lib/tinydir/tinydir.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/lib/tinydir/tinydir.h -------------------------------------------------------------------------------- /src/ast/ast.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/ast/ast.c -------------------------------------------------------------------------------- /src/ast/ast_t.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/ast/ast_t.h -------------------------------------------------------------------------------- /src/ast/back_ast.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/ast/back_ast.c -------------------------------------------------------------------------------- /src/ast/back_symt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/ast/back_symt.c -------------------------------------------------------------------------------- /src/ast/front_ast.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/ast/front_ast.c -------------------------------------------------------------------------------- /src/ast/front_symt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/ast/front_symt.c -------------------------------------------------------------------------------- /src/ast/interm_ast.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/ast/interm_ast.c -------------------------------------------------------------------------------- /src/backend/assembly/asm_gen.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/backend/assembly/asm_gen.c -------------------------------------------------------------------------------- /src/backend/assembly/registers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/backend/assembly/registers.c -------------------------------------------------------------------------------- /src/backend/assembly/regs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/backend/assembly/regs.h -------------------------------------------------------------------------------- /src/backend/assembly/stack_fix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/backend/assembly/stack_fix.c -------------------------------------------------------------------------------- /src/backend/assembly/symt_cvt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/backend/assembly/symt_cvt.c -------------------------------------------------------------------------------- /src/backend/emitter/gas_code.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/backend/emitter/gas_code.c -------------------------------------------------------------------------------- /src/frontend/intermediate/idents.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/frontend/intermediate/idents.c -------------------------------------------------------------------------------- /src/frontend/intermediate/labels.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/frontend/intermediate/labels.h -------------------------------------------------------------------------------- /src/frontend/intermediate/messages.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/frontend/intermediate/messages.h -------------------------------------------------------------------------------- /src/frontend/intermediate/semantic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/frontend/intermediate/semantic.c -------------------------------------------------------------------------------- /src/frontend/intermediate/tac_repr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/frontend/intermediate/tac_repr.c -------------------------------------------------------------------------------- /src/frontend/parser/errors.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/frontend/parser/errors.c -------------------------------------------------------------------------------- /src/frontend/parser/lexer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/frontend/parser/lexer.c -------------------------------------------------------------------------------- /src/frontend/parser/messages.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/frontend/parser/messages.h -------------------------------------------------------------------------------- /src/frontend/parser/parser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/frontend/parser/parser.c -------------------------------------------------------------------------------- /src/frontend/parser/tokens.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/frontend/parser/tokens.h -------------------------------------------------------------------------------- /src/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/main.c -------------------------------------------------------------------------------- /src/optimization/impl_olvl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/optimization/impl_olvl.h -------------------------------------------------------------------------------- /src/optimization/optim_tac.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/optimization/optim_tac.c -------------------------------------------------------------------------------- /src/optimization/reg_alloc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/optimization/reg_alloc.c -------------------------------------------------------------------------------- /src/util/fileio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/util/fileio.c -------------------------------------------------------------------------------- /src/util/pprint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/util/pprint.c -------------------------------------------------------------------------------- /src/util/str2t.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/util/str2t.c -------------------------------------------------------------------------------- /src/util/throw.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/src/util/throw.c -------------------------------------------------------------------------------- /test/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/build.sh -------------------------------------------------------------------------------- /test/get-dependencies.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/get-dependencies.sh -------------------------------------------------------------------------------- /test/test-all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/test-all.sh -------------------------------------------------------------------------------- /test/test-compiler.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/test-compiler.sh -------------------------------------------------------------------------------- /test/test-errors.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/test-errors.sh -------------------------------------------------------------------------------- /test/test-memory.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/test-memory.sh -------------------------------------------------------------------------------- /test/test-preprocessor.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/test-preprocessor.sh -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/invalid_lex/invalid_suffix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/invalid_lex/invalid_suffix.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/invalid_lex/invalid_suffix2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/invalid_lex/invalid_suffix2.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/invalid_parse/bad_specifiers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/invalid_parse/bad_specifiers.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/invalid_parse/empty_cast.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/invalid_parse/empty_cast.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/invalid_parse/fun_name_long.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/invalid_parse/fun_name_long.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/invalid_parse/invalid_cast.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/invalid_parse/invalid_cast.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/invalid_parse/invalid_suffix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/invalid_parse/invalid_suffix.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/invalid_parse/long_constant_as_var.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/invalid_parse/long_constant_as_var.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/invalid_parse/missing_cast_parentheses.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/invalid_parse/missing_cast_parentheses.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/invalid_parse/var_name_long.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/invalid_parse/var_name_long.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/invalid_types/call_long_as_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/invalid_types/call_long_as_function.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/invalid_types/cast_lvalue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/invalid_types/cast_lvalue.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/invalid_types/conflicting_function_types.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/invalid_types/conflicting_function_types.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/invalid_types/conflicting_global_types.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/invalid_types/conflicting_global_types.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/invalid_types/conflicting_variable_types.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/invalid_types/conflicting_variable_types.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/explicit_casts/sign_extend.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/explicit_casts/sign_extend.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/explicit_casts/truncate.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/explicit_casts/truncate.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/extra_credit/bitshift.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/extra_credit/bitshift.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/extra_credit/bitwise_long_op.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/extra_credit/bitwise_long_op.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/extra_credit/compound_assign_to_int.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/extra_credit/compound_assign_to_int.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/extra_credit/compound_assign_to_long.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/extra_credit/compound_assign_to_long.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/extra_credit/compound_bitshift.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/extra_credit/compound_bitshift.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/extra_credit/compound_bitwise.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/extra_credit/compound_bitwise.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/extra_credit/increment_long.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/extra_credit/increment_long.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/extra_credit/switch_int.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/extra_credit/switch_int.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/extra_credit/switch_long.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/extra_credit/switch_long.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/implicit_casts/common_type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/implicit_casts/common_type.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/implicit_casts/convert_by_assignment.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/implicit_casts/convert_by_assignment.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/implicit_casts/long_constants.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/implicit_casts/long_constants.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/libraries/long_args.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/libraries/long_args.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/libraries/long_args_client.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/libraries/long_args_client.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/libraries/long_global_var.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/libraries/long_global_var.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/libraries/long_global_var_client.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/libraries/long_global_var_client.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/libraries/maintain_stack_alignment.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/libraries/maintain_stack_alignment.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/libraries/return_long.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/libraries/return_long.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/libraries/return_long_client.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/libraries/return_long_client.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/long_expressions/arithmetic_ops.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/long_expressions/arithmetic_ops.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/long_expressions/assign.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/long_expressions/assign.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/long_expressions/comparisons.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/long_expressions/comparisons.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/long_expressions/large_constants.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/long_expressions/large_constants.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/long_expressions/logical.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/long_expressions/logical.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/long_expressions/long_and_int_locals.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/long_expressions/long_and_int_locals.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/long_expressions/long_args.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/long_expressions/long_args.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/long_expressions/multi_op.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/long_expressions/multi_op.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/long_expressions/return_long.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/long_expressions/return_long.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/long_expressions/simple.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/long_expressions/simple.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/long_expressions/static_long.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/long_expressions/static_long.c -------------------------------------------------------------------------------- /test/tests/compiler/11_long_integers/valid/long_expressions/type_specifiers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/11_long_integers/valid/long_expressions/type_specifiers.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/invalid_lex/invalid_suffix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/invalid_lex/invalid_suffix.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/invalid_lex/invalid_suffix_2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/invalid_lex/invalid_suffix_2.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/invalid_parse/bad_specifiers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/invalid_parse/bad_specifiers.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/invalid_parse/bad_specifiers_2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/invalid_parse/bad_specifiers_2.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/invalid_types/conflicting_uint_ulong.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/invalid_types/conflicting_uint_ulong.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/valid/explicit_casts/chained_casts.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/valid/explicit_casts/chained_casts.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/valid/explicit_casts/extension.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/valid/explicit_casts/extension.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/valid/explicit_casts/round_trip_casts.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/valid/explicit_casts/round_trip_casts.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/valid/explicit_casts/truncate.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/valid/explicit_casts/truncate.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/valid/extra_credit/bitwise_unsigned_ops.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/valid/extra_credit/bitwise_unsigned_ops.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/valid/extra_credit/compound_assign_uint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/valid/extra_credit/compound_assign_uint.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/valid/extra_credit/compound_bitshift.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/valid/extra_credit/compound_bitshift.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/valid/extra_credit/compound_bitwise.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/valid/extra_credit/compound_bitwise.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/valid/extra_credit/postfix_precedence.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/valid/extra_credit/postfix_precedence.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/valid/extra_credit/switch_uint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/valid/extra_credit/switch_uint.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/valid/extra_credit/unsigned_incr_decr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/valid/extra_credit/unsigned_incr_decr.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/valid/implicit_casts/common_type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/valid/implicit_casts/common_type.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/valid/implicit_casts/promote_constants.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/valid/implicit_casts/promote_constants.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/valid/implicit_casts/static_initializers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/valid/implicit_casts/static_initializers.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/valid/libraries/unsigned_args.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/valid/libraries/unsigned_args.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/valid/libraries/unsigned_args_client.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/valid/libraries/unsigned_args_client.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/valid/libraries/unsigned_global_var.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/valid/libraries/unsigned_global_var.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/valid/unsigned_expressions/comparisons.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/valid/unsigned_expressions/comparisons.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/valid/unsigned_expressions/locals.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/valid/unsigned_expressions/locals.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/valid/unsigned_expressions/logical.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/valid/unsigned_expressions/logical.c -------------------------------------------------------------------------------- /test/tests/compiler/12_unsigned_integers/valid/unsigned_expressions/simple.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/12_unsigned_integers/valid/unsigned_expressions/simple.c -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/invalid_lex/another_bad_constant.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/13_floating-point_numbers/invalid_lex/another_bad_constant.c -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/invalid_lex/bad_exponent_suffix.c: -------------------------------------------------------------------------------- 1 | int main(void) 2 | { 3 | double foo = 1E2x; 4 | } 5 | -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/invalid_lex/malformed_const.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/13_floating-point_numbers/invalid_lex/malformed_const.c -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/invalid_lex/malformed_exponent.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/13_floating-point_numbers/invalid_lex/malformed_exponent.c -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/invalid_lex/missing_exponent.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/13_floating-point_numbers/invalid_lex/missing_exponent.c -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/invalid_lex/yet_another_bad_constant.c: -------------------------------------------------------------------------------- 1 | int main(void) 2 | { 3 | return 1.e-10x; 4 | } 5 | -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/invalid_types/complement_double.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/13_floating-point_numbers/invalid_types/complement_double.c -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/invalid_types/mod_double.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/13_floating-point_numbers/invalid_types/mod_double.c -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/invalid_types/mod_double_2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/13_floating-point_numbers/invalid_types/mod_double_2.c -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/valid/constants/constant_doubles.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/13_floating-point_numbers/valid/constants/constant_doubles.c -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/valid/constants/round_constants.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/13_floating-point_numbers/valid/constants/round_constants.c -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/valid/extra_credit/compound_assign.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/13_floating-point_numbers/valid/extra_credit/compound_assign.c -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/valid/extra_credit/incr_and_decr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/13_floating-point_numbers/valid/extra_credit/incr_and_decr.c -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/valid/extra_credit/nan__+lm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/13_floating-point_numbers/valid/extra_credit/nan__+lm.c -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/valid/extra_credit/nan__+lm_linux.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/13_floating-point_numbers/valid/extra_credit/nan__+lm_linux.s -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/valid/extra_credit/nan__+lm_osx.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/13_floating-point_numbers/valid/extra_credit/nan__+lm_osx.s -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/valid/floating_expressions/logical.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/13_floating-point_numbers/valid/floating_expressions/logical.c -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/valid/floating_expressions/simple.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/13_floating-point_numbers/valid/floating_expressions/simple.c -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/valid/function_calls/push_xmm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/13_floating-point_numbers/valid/function_calls/push_xmm.c -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/valid/function_calls/return_double.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/13_floating-point_numbers/valid/function_calls/return_double.c -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/valid/implicit_casts/common_type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/13_floating-point_numbers/valid/implicit_casts/common_type.c -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/valid/libraries/double_parameters.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/13_floating-point_numbers/valid/libraries/double_parameters.c -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/valid/libraries/extern_double.c: -------------------------------------------------------------------------------- 1 | double d = 1e20; 2 | -------------------------------------------------------------------------------- /test/tests/compiler/13_floating-point_numbers/valid/special_values/infinity.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/13_floating-point_numbers/valid/special_values/infinity.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_declarations/extra_credit/addr_of_label.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_declarations/extra_credit/addr_of_label.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_declarations/extra_credit/deref_label.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_declarations/extra_credit/deref_label.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_parse/abstract_function_declarator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_parse/abstract_function_declarator.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_parse/cast_to_declarator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_parse/cast_to_declarator.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_parse/malformed_abstract_declarator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_parse/malformed_abstract_declarator.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_parse/malformed_declarator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_parse/malformed_declarator.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_parse/malformed_function_declarator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_parse/malformed_function_declarator.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_parse/malformed_function_declarator_2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_parse/malformed_function_declarator_2.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/address_of_address.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/address_of_address.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/address_of_assignment.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/address_of_assignment.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/address_of_constant.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/address_of_constant.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/address_of_ternary.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/address_of_ternary.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/assign_int_to_pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/assign_int_to_pointer.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/assign_int_var_to_pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/assign_int_var_to_pointer.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/assign_to_address.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/assign_to_address.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/assign_wrong_pointer_type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/assign_wrong_pointer_type.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/bad_null_pointer_constant.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/bad_null_pointer_constant.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/cast_double_to_pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/cast_double_to_pointer.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/cast_pointer_to_double.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/cast_pointer_to_double.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/compare_mixed_pointer_types.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/compare_mixed_pointer_types.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/compare_pointer_to_ulong.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/compare_pointer_to_ulong.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/complement_pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/complement_pointer.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/dereference_non_pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/dereference_non_pointer.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/divide_pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/divide_pointer.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/extra_credit/bitwise_and_pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/extra_credit/bitwise_and_pointer.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/extra_credit/bitwise_lshift_pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/extra_credit/bitwise_lshift_pointer.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/extra_credit/bitwise_or_pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/extra_credit/bitwise_or_pointer.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/extra_credit/bitwise_rshift_pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/extra_credit/bitwise_rshift_pointer.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/extra_credit/bitwise_xor_pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/extra_credit/bitwise_xor_pointer.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/extra_credit/compound_mod_pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/extra_credit/compound_mod_pointer.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/extra_credit/prefix_incr_not_lvalue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/extra_credit/prefix_incr_not_lvalue.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/extra_credit/switch_on_pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/extra_credit/switch_on_pointer.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/invalid_pointer_initializer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/invalid_pointer_initializer.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/invalid_static_initializer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/invalid_static_initializer.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/multiply_pointers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/multiply_pointers.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/multiply_pointers_2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/multiply_pointers_2.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/negate_pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/negate_pointer.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/pass_pointer_as_int.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/pass_pointer_as_int.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/return_wrong_pointer_type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/return_wrong_pointer_type.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/invalid_types/ternary_mixed_pointer_types.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/invalid_types/ternary_mixed_pointer_types.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/casts/cast_between_pointer_types.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/casts/cast_between_pointer_types.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/casts/null_pointer_conversion.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/casts/null_pointer_conversion.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/casts/pointer_int_casts.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/casts/pointer_int_casts.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/comparisons/compare_pointers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/comparisons/compare_pointers.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/comparisons/compare_to_null.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/comparisons/compare_to_null.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/comparisons/pointers_as_conditions.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/comparisons/pointers_as_conditions.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/declarators/abstract_declarators.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/declarators/abstract_declarators.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/declarators/declarators.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/declarators/declarators.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/declarators/declare_pointer_in_for_loop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/declarators/declare_pointer_in_for_loop.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/dereference/address_of_dereference.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/dereference/address_of_dereference.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/dereference/dereference_expression_result.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/dereference/dereference_expression_result.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/dereference/multilevel_indirection.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/dereference/multilevel_indirection.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/dereference/read_through_pointers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/dereference/read_through_pointers.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/dereference/simple.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/dereference/simple.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/dereference/static_var_indirection.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/dereference/static_var_indirection.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/dereference/update_through_pointers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/dereference/update_through_pointers.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/extra_credit/bitshift_dereferenced_ptrs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/extra_credit/bitshift_dereferenced_ptrs.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/extra_credit/compound_assign_conversion.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/extra_credit/compound_assign_conversion.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/extra_credit/eval_compound_lhs_once.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/extra_credit/eval_compound_lhs_once.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/extra_credit/incr_and_decr_through_pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/extra_credit/incr_and_decr_through_pointer.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/extra_credit/switch_dereferenced_pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/extra_credit/switch_dereferenced_pointer.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/function_calls/address_of_argument.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/function_calls/address_of_argument.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/function_calls/return_pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/function_calls/return_pointer.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/libraries/global_pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/libraries/global_pointer.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/libraries/global_pointer_client.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/libraries/global_pointer_client.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/libraries/static_pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/libraries/static_pointer.c -------------------------------------------------------------------------------- /test/tests/compiler/14_pointers/valid/libraries/static_pointer_client.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/14_pointers/valid/libraries/static_pointer_client.c -------------------------------------------------------------------------------- /test/tests/compiler/15_arrays_and_pointer_arithmetic/invalid_parse/return_array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/15_arrays_and_pointer_arithmetic/invalid_parse/return_array.c -------------------------------------------------------------------------------- /test/tests/compiler/15_arrays_and_pointer_arithmetic/invalid_types/bad_arg_type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/15_arrays_and_pointer_arithmetic/invalid_types/bad_arg_type.c -------------------------------------------------------------------------------- /test/tests/compiler/15_arrays_and_pointer_arithmetic/valid/casts/multi_dim_casts.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/15_arrays_and_pointer_arithmetic/valid/casts/multi_dim_casts.c -------------------------------------------------------------------------------- /test/tests/compiler/15_arrays_and_pointer_arithmetic/valid/declarators/big_array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/15_arrays_and_pointer_arithmetic/valid/declarators/big_array.c -------------------------------------------------------------------------------- /test/tests/compiler/15_arrays_and_pointer_arithmetic/valid/initialization/static.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/15_arrays_and_pointer_arithmetic/valid/initialization/static.c -------------------------------------------------------------------------------- /test/tests/compiler/15_arrays_and_pointer_arithmetic/valid/libraries/global_array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/15_arrays_and_pointer_arithmetic/valid/libraries/global_array.c -------------------------------------------------------------------------------- /test/tests/compiler/15_arrays_and_pointer_arithmetic/valid/subscripting/simple.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/15_arrays_and_pointer_arithmetic/valid/subscripting/simple.c -------------------------------------------------------------------------------- /test/tests/compiler/16_characters_and_strings/invalid_lex/char_bad_escape_sequence.c: -------------------------------------------------------------------------------- 1 | int main(void) 2 | { 3 | return '\y'; 4 | } 5 | -------------------------------------------------------------------------------- /test/tests/compiler/16_characters_and_strings/invalid_lex/newline.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/16_characters_and_strings/invalid_lex/newline.c -------------------------------------------------------------------------------- /test/tests/compiler/16_characters_and_strings/invalid_lex/unescaped_backslash.c: -------------------------------------------------------------------------------- 1 | int main(void) 2 | { 3 | return '\'; 4 | } 5 | -------------------------------------------------------------------------------- /test/tests/compiler/16_characters_and_strings/invalid_lex/unescaped_single_quote.c: -------------------------------------------------------------------------------- 1 | int main(void) 2 | { 3 | return '''; 4 | } 5 | -------------------------------------------------------------------------------- /test/tests/compiler/16_characters_and_strings/invalid_lex/unterminated_char_constant.c: -------------------------------------------------------------------------------- 1 | int main(void) 2 | { 3 | return 'x 4 | } 5 | -------------------------------------------------------------------------------- /test/tests/compiler/16_characters_and_strings/invalid_lex/unterminated_string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/16_characters_and_strings/invalid_lex/unterminated_string.c -------------------------------------------------------------------------------- /test/tests/compiler/16_characters_and_strings/valid/chars/chained_casts.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/16_characters_and_strings/valid/chars/chained_casts.c -------------------------------------------------------------------------------- /test/tests/compiler/16_characters_and_strings/valid/chars/char_arguments.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/16_characters_and_strings/valid/chars/char_arguments.c -------------------------------------------------------------------------------- /test/tests/compiler/16_characters_and_strings/valid/chars/char_expressions.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/16_characters_and_strings/valid/chars/char_expressions.c -------------------------------------------------------------------------------- /test/tests/compiler/16_characters_and_strings/valid/chars/common_type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/16_characters_and_strings/valid/chars/common_type.c -------------------------------------------------------------------------------- /test/tests/compiler/16_characters_and_strings/valid/chars/explicit_casts.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/16_characters_and_strings/valid/chars/explicit_casts.c -------------------------------------------------------------------------------- /test/tests/compiler/16_characters_and_strings/valid/chars/integer_promotion.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/16_characters_and_strings/valid/chars/integer_promotion.c -------------------------------------------------------------------------------- /test/tests/compiler/16_characters_and_strings/valid/chars/return_char.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/16_characters_and_strings/valid/chars/return_char.c -------------------------------------------------------------------------------- /test/tests/compiler/16_characters_and_strings/valid/chars/static_initializers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/16_characters_and_strings/valid/chars/static_initializers.c -------------------------------------------------------------------------------- /test/tests/compiler/16_characters_and_strings/valid/chars/type_specifiers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/16_characters_and_strings/valid/chars/type_specifiers.c -------------------------------------------------------------------------------- /test/tests/compiler/16_characters_and_strings/valid/libraries/char_arguments.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/16_characters_and_strings/valid/libraries/char_arguments.c -------------------------------------------------------------------------------- /test/tests/compiler/16_characters_and_strings/valid/libraries/global_char.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/16_characters_and_strings/valid/libraries/global_char.c -------------------------------------------------------------------------------- /test/tests/compiler/16_characters_and_strings/valid/libraries/return_char.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/16_characters_and_strings/valid/libraries/return_char.c -------------------------------------------------------------------------------- /test/tests/compiler/16_characters_and_strings/valid/strings_as_lvalues/simple.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/16_characters_and_strings/valid/strings_as_lvalues/simple.c -------------------------------------------------------------------------------- /test/tests/compiler/17_supporting_dynamic_memory_allocation/valid/void/ternary.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/17_supporting_dynamic_memory_allocation/valid/void/ternary.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_lex/dot_bad_token.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_lex/dot_bad_token.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_lex/dot_bad_token_2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_lex/dot_bad_token_2.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/arrow_missing_member.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/arrow_missing_member.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/dot_invalid_member.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/dot_invalid_member.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/dot_no_left_expr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/dot_no_left_expr.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/dot_operator_in_declarator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/dot_operator_in_declarator.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/empty_initializer_list.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/empty_initializer_list.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/extra_credit/case_struct_decl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/extra_credit/case_struct_decl.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/extra_credit/struct_union.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/extra_credit/struct_union.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/extra_credit/two_union_kws.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/extra_credit/two_union_kws.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/extra_credit/union_struct_tag.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/extra_credit/union_struct_tag.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/extra_credit/union_two_tags.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/extra_credit/union_two_tags.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/extra_credit/union_var_bad_tag.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/extra_credit/union_var_bad_tag.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/misplaced_storage_class.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/misplaced_storage_class.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/struct_decl_double_semicolon.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/struct_decl_double_semicolon.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/struct_decl_empty_member_list.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/struct_decl_empty_member_list.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/struct_decl_extra_semicolon.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/struct_decl_extra_semicolon.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/struct_decl_kw_wrong_order.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/struct_decl_kw_wrong_order.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/struct_decl_tag_kw.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/struct_decl_tag_kw.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/struct_decl_two_kws.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/struct_decl_two_kws.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/struct_member_initializer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/struct_member_initializer.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/struct_member_is_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/struct_member_is_function.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/struct_member_name_kw.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/struct_member_name_kw.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/struct_member_no_declarator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/struct_member_no_declarator.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/struct_member_no_semicolon.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/struct_member_no_semicolon.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/struct_member_no_type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/struct_member_no_type.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/struct_member_storage_class.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/struct_member_storage_class.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/var_decl_bad_tag_1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/var_decl_bad_tag_1.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/var_decl_bad_tag_2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/var_decl_bad_tag_2.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/var_decl_bad_type_specifier.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/var_decl_bad_type_specifier.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/var_decl_missing_struct_kw.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/var_decl_missing_struct_kw.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/var_decl_two_struct_kws.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/var_decl_two_struct_kws.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_parse/var_decl_two_tags.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_parse/var_decl_two_tags.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_struct_tags/array_of_undeclared.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_struct_tags/array_of_undeclared.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_struct_tags/cast_undeclared.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_struct_tags/cast_undeclared.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_struct_tags/deref_undeclared.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_struct_tags/deref_undeclared.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_struct_tags/for_loop_scope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_struct_tags/for_loop_scope.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_struct_tags/for_loop_scope_2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_struct_tags/for_loop_scope_2.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_struct_tags/member_type_undeclared.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_struct_tags/member_type_undeclared.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_struct_tags/param_undeclared.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_struct_tags/param_undeclared.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_struct_tags/return_type_undeclared.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_struct_tags/return_type_undeclared.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_struct_tags/sizeof_undeclared.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_struct_tags/sizeof_undeclared.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_struct_tags/var_type_undeclared.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_struct_tags/var_type_undeclared.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_types/scalar_required/and_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_types/scalar_required/and_struct.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_types/scalar_required/cast_to_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_types/scalar_required/cast_to_struct.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_types/scalar_required/not_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_types/scalar_required/not_struct.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_types/scalar_required/struct_as_int.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_types/scalar_required/struct_as_int.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/invalid_types/tag_resolution/shadow_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/invalid_types/tag_resolution/shadow_struct.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/extra_credit/libraries/classify_unions.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/extra_credit/libraries/classify_unions.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/extra_credit/libraries/param_passing.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/extra_credit/libraries/param_passing.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/extra_credit/libraries/union_inits.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/extra_credit/libraries/union_inits.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/extra_credit/libraries/union_inits.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/extra_credit/libraries/union_inits.h -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/extra_credit/libraries/union_lib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/extra_credit/libraries/union_lib.h -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/extra_credit/libraries/union_retvals.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/extra_credit/libraries/union_retvals.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/extra_credit/union_types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/extra_credit/union_types.h -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/parameters/incomplete_param_type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/parameters/incomplete_param_type.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/parameters/libraries/classify_params.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/parameters/libraries/classify_params.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/parameters/libraries/classify_params.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/parameters/libraries/classify_params.h -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/parameters/libraries/modify_param.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/parameters/libraries/modify_param.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/parameters/libraries/modify_param.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/parameters/libraries/modify_param.h -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/parameters/libraries/pass_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/parameters/libraries/pass_struct.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/parameters/libraries/pass_struct.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/parameters/libraries/pass_struct.h -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/parameters/libraries/struct_sizes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/parameters/libraries/struct_sizes.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/parameters/libraries/struct_sizes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/parameters/libraries/struct_sizes.h -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/parameters/pass_args_on_page_boundary.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/parameters/pass_args_on_page_boundary.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/parameters/simple.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/parameters/simple.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/parameters/stack_clobber.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/parameters/stack_clobber.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/params_and_returns/ignore_retval.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/params_and_returns/ignore_retval.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/params_and_returns/simple.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/params_and_returns/simple.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/params_and_returns/stack_clobber.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/params_and_returns/stack_clobber.c -------------------------------------------------------------------------------- /test/tests/compiler/18_structures/valid/params_and_returns/temporary_lifetime.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/18_structures/valid/params_and_returns/temporary_lifetime.c -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/invalid_lex/at_sign.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/1_int_constants/invalid_lex/at_sign.c -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/invalid_lex/backslash.c: -------------------------------------------------------------------------------- 1 | /* A single backslash is not a valid token. */ 2 | \ 3 | -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/invalid_lex/backtick.c: -------------------------------------------------------------------------------- 1 | /* A backtick is not a valid token. */ 2 | ` 3 | -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/invalid_lex/invalid_identifier.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/1_int_constants/invalid_lex/invalid_identifier.c -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/invalid_lex/invalid_identifier_2.c: -------------------------------------------------------------------------------- 1 | int main(void) 2 | { 3 | return @b; 4 | } 5 | -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/invalid_parse/end_before_expr.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 3 | -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/invalid_parse/extra_junk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/1_int_constants/invalid_parse/extra_junk.c -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/invalid_parse/invalid_function_name.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/1_int_constants/invalid_parse/invalid_function_name.c -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/invalid_parse/keyword_wrong_case.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | RETURN 0; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/invalid_parse/missing_type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/1_int_constants/invalid_parse/missing_type.c -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/invalid_parse/misspelled_keyword.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | returns 0; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/invalid_parse/no_semicolon.c: -------------------------------------------------------------------------------- 1 | int main (void) { 2 | return 0 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/invalid_parse/not_expression.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return int; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/invalid_parse/space_in_keyword.c: -------------------------------------------------------------------------------- 1 | int main(void){ 2 | retur n 0; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/invalid_parse/switched_parens.c: -------------------------------------------------------------------------------- 1 | int main )( { 2 | return 0; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/invalid_parse/unclosed_brace.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 0; 3 | 4 | -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/invalid_parse/unclosed_paren.c: -------------------------------------------------------------------------------- 1 | int main( { 2 | return 0; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/valid/multi_digit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/1_int_constants/valid/multi_digit.c -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/valid/newlines.c: -------------------------------------------------------------------------------- 1 | int 2 | main 3 | ( 4 | void 5 | ) 6 | { 7 | return 8 | 0 9 | ; 10 | } 11 | -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/valid/no_newlines.c: -------------------------------------------------------------------------------- 1 | int main(void){return 0;} 2 | -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/valid/return_0.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 0; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/valid/return_2.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 2; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/valid/spaces.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/1_int_constants/valid/spaces.c -------------------------------------------------------------------------------- /test/tests/compiler/1_int_constants/valid/tabs.c: -------------------------------------------------------------------------------- 1 | int main ( void) { return 0 ; } 2 | -------------------------------------------------------------------------------- /test/tests/compiler/20_register_allocation/all_types/no_coalescing/div_uses_ax.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/20_register_allocation/all_types/no_coalescing/div_uses_ax.c -------------------------------------------------------------------------------- /test/tests/compiler/20_register_allocation/all_types/util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/20_register_allocation/all_types/util.h -------------------------------------------------------------------------------- /test/tests/compiler/20_register_allocation/int_only/no_coalescing/force_spill.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/20_register_allocation/int_only/no_coalescing/force_spill.c -------------------------------------------------------------------------------- /test/tests/compiler/20_register_allocation/int_only/no_coalescing/loop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/20_register_allocation/int_only/no_coalescing/loop.c -------------------------------------------------------------------------------- /test/tests/compiler/20_register_allocation/int_only/no_coalescing/loop_linux.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/20_register_allocation/int_only/no_coalescing/loop_linux.s -------------------------------------------------------------------------------- /test/tests/compiler/20_register_allocation/int_only/no_coalescing/loop_osx.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/20_register_allocation/int_only/no_coalescing/loop_osx.s -------------------------------------------------------------------------------- /test/tests/compiler/20_register_allocation/int_only/util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/20_register_allocation/int_only/util.h -------------------------------------------------------------------------------- /test/tests/compiler/2_unary_operators/invalid_parse/extra_paren.c: -------------------------------------------------------------------------------- 1 | int main(void) 2 | { 3 | return (3)); 4 | } 5 | -------------------------------------------------------------------------------- /test/tests/compiler/2_unary_operators/invalid_parse/missing_const.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return ~; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/2_unary_operators/invalid_parse/missing_semicolon.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return -5 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/2_unary_operators/invalid_parse/nested_missing_const.c: -------------------------------------------------------------------------------- 1 | int main(void) 2 | { 3 | return -~; 4 | } 5 | -------------------------------------------------------------------------------- /test/tests/compiler/2_unary_operators/invalid_parse/parenthesize_operand.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return (-)3; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/2_unary_operators/invalid_parse/unclosed_paren.c: -------------------------------------------------------------------------------- 1 | int main(void) 2 | { 3 | return (1; 4 | } 5 | -------------------------------------------------------------------------------- /test/tests/compiler/2_unary_operators/invalid_parse/wrong_order.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 4-; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/2_unary_operators/valid/bitwise.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return ~12; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/2_unary_operators/valid/bitwise_int_min.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/2_unary_operators/valid/bitwise_int_min.c -------------------------------------------------------------------------------- /test/tests/compiler/2_unary_operators/valid/bitwise_zero.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return ~0; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/2_unary_operators/valid/neg.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return -5; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/2_unary_operators/valid/neg_zero.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return -0; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/2_unary_operators/valid/negate_int_max.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/2_unary_operators/valid/negate_int_max.c -------------------------------------------------------------------------------- /test/tests/compiler/2_unary_operators/valid/nested_ops.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return ~-3; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/2_unary_operators/valid/nested_ops_2.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return -~0; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/2_unary_operators/valid/parens.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return (-2); 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/2_unary_operators/valid/parens_2.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return ~(2); 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/2_unary_operators/valid/parens_3.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return -(-4); 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/2_unary_operators/valid/redundant_parens.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/2_unary_operators/valid/redundant_parens.c -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/invalid_parse/double_operation.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 1 * / 2; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/invalid_parse/imbalanced_paren.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 1 + (2; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/invalid_parse/malformed_paren.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 2 (- 3); 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/invalid_parse/misplaced_semicolon.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 1 + (2;) 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/invalid_parse/missing_first_op.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return /3; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/invalid_parse/missing_open_paren.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 1 + 2); 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/invalid_parse/missing_second_op.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 1 + ; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/invalid_parse/no_semicolon.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 2*2 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/add.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 1 + 2; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/associativity.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/3_binary_operators/valid/associativity.c -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/associativity_2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/3_binary_operators/valid/associativity_2.c -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/associativity_3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/3_binary_operators/valid/associativity_3.c -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/associativity_and_precedence.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/3_binary_operators/valid/associativity_and_precedence.c -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/div.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 4 / 2; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/div_neg.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return (-12) / 5; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/extra_credit/bitwise_and.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 3 & 5; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/extra_credit/bitwise_or.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 1 | 2; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/extra_credit/bitwise_precedence.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/3_binary_operators/valid/extra_credit/bitwise_precedence.c -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/extra_credit/bitwise_shift_associativity.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 33 << 4 >> 2; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/extra_credit/bitwise_shift_associativity_2.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 33 >> 2 << 1; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/extra_credit/bitwise_shiftl.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 35 << 2; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/extra_credit/bitwise_shiftr.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 1000 >> 4; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/extra_credit/bitwise_xor.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 7 ^ 1; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/mod.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 4 % 2; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/mult.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 2 * 3; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/parens.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 2 * (3 + 4); 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/precedence.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 2 + 3 * 4; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/sub.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 1 - 2; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/sub_neg.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 2- -1; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/unop_add.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return ~2 + 3; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/3_binary_operators/valid/unop_parens.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return ~(1 + 1); 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/invalid_parse/missing_const.c: -------------------------------------------------------------------------------- 1 | int main(void) 2 | { 3 | 10 <= !; 4 | } 5 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/invalid_parse/missing_first_op.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return <= 2; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/invalid_parse/missing_operand.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 1 < > 3; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/invalid_parse/missing_second_op.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 2 && ~; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/invalid_parse/missing_semicolon.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 1 || 2 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/invalid_parse/unary_missing_semicolon.c: -------------------------------------------------------------------------------- 1 | int main(void) 2 | { 3 | return !10 4 | } 5 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/and_false.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/4_logical_and_relational_operators/valid/and_false.c -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/and_short_circuit.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 0 && (1 / 0); 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/and_true.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/4_logical_and_relational_operators/valid/and_true.c -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/associativity.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/4_logical_and_relational_operators/valid/associativity.c -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/compare_arithmetic_results.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return ~2 * -2 == 1 + 5; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/eq_false.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 1 == 2; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/eq_precedence.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/4_logical_and_relational_operators/valid/eq_precedence.c -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/eq_true.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 1 == 1; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/ge_false.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 1 >= 2; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/ge_true.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/4_logical_and_relational_operators/valid/ge_true.c -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/gt_false.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/4_logical_and_relational_operators/valid/gt_false.c -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/gt_true.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 15 > 10; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/le_false.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 1 <= -1; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/le_true.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/4_logical_and_relational_operators/valid/le_true.c -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/lt_false.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 2 < 1; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/lt_true.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 1 < 2; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/ne_false.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 0 != 0; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/ne_true.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return -1 != -2; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/nested_ops.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return !-3; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/not.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return !5; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/not_sum.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return !(4-4); 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/not_sum_2.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return !(3 - 44); 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/not_zero.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return !0; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/or_false.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 0 || 0; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/or_short_circuit.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 1 || (1 / 0); 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/or_true.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/4_logical_and_relational_operators/valid/or_true.c -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/precedence.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/4_logical_and_relational_operators/valid/precedence.c -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/precedence_2.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return (1 || 0) && 0; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/precedence_3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/4_logical_and_relational_operators/valid/precedence_3.c -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/precedence_4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/4_logical_and_relational_operators/valid/precedence_4.c -------------------------------------------------------------------------------- /test/tests/compiler/4_logical_and_relational_operators/valid/precedence_5.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/4_logical_and_relational_operators/valid/precedence_5.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/invalid_parse/compound_invalid_operator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/invalid_parse/compound_invalid_operator.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/invalid_parse/declare_keyword_as_var.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/invalid_parse/declare_keyword_as_var.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/invalid_parse/invalid_specifier.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/invalid_parse/invalid_specifier.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/invalid_parse/invalid_type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/invalid_parse/invalid_type.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/invalid_parse/invalid_variable_name.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/invalid_parse/invalid_variable_name.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/invalid_parse/malformed_decrement.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/invalid_parse/malformed_decrement.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/invalid_parse/malformed_increment.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/invalid_parse/malformed_increment.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/invalid_parse/malformed_less_equal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/invalid_parse/malformed_less_equal.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/invalid_parse/malformed_not_equal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/invalid_parse/malformed_not_equal.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/invalid_parse/missing_semicolon.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/invalid_parse/missing_semicolon.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/invalid_parse/return_in_assignment.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/invalid_parse/return_in_assignment.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/invalid_semantics/declared_after_use.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/invalid_semantics/declared_after_use.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/invalid_semantics/extra_credit/prefix_decr_non_lvalue.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return --3; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/invalid_semantics/extra_credit/undeclared_bitwise_op.c: -------------------------------------------------------------------------------- 1 | int main(void){ 2 | return a >> 2; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/invalid_semantics/invalid_lvalue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/invalid_semantics/invalid_lvalue.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/invalid_semantics/invalid_lvalue_2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/invalid_semantics/invalid_lvalue_2.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/invalid_semantics/redefine.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/invalid_semantics/redefine.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/invalid_semantics/undeclared_var.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return a; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/invalid_semantics/undeclared_var_and.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 0 && a; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/invalid_semantics/undeclared_var_compare.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return a < 5; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/invalid_semantics/undeclared_var_unary.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return -a; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/invalid_semantics/use_then_redefine.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/invalid_semantics/use_then_redefine.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/add_variables.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/add_variables.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/allocate_temps_and_vars.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/allocate_temps_and_vars.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/assign.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/assign.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/assign_val_in_initializer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/assign_val_in_initializer.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/assignment_in_initializer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/assignment_in_initializer.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/assignment_lowest_precedence.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/assignment_lowest_precedence.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/empty_function_body.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/exp_then_declaration.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/exp_then_declaration.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/extra_credit/bitwise_ops_vars.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/extra_credit/bitwise_ops_vars.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/extra_credit/bitwise_shiftr_assign.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/extra_credit/bitwise_shiftr_assign.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/extra_credit/compound_bitwise_and.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/extra_credit/compound_bitwise_and.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/extra_credit/compound_bitwise_or.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/extra_credit/compound_bitwise_or.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/extra_credit/compound_bitwise_xor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/extra_credit/compound_bitwise_xor.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/extra_credit/compound_divide.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/extra_credit/compound_divide.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/extra_credit/compound_minus.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/extra_credit/compound_minus.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/extra_credit/compound_mod.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/extra_credit/compound_mod.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/extra_credit/compound_multiply.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/extra_credit/compound_multiply.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/extra_credit/compound_plus.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/extra_credit/compound_plus.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/extra_credit/incr_in_binary_expr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/extra_credit/incr_in_binary_expr.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/extra_credit/incr_parenthesized.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/extra_credit/incr_parenthesized.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/extra_credit/postfix_incr_and_decr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/extra_credit/postfix_incr_and_decr.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/extra_credit/postfix_precedence.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/extra_credit/postfix_precedence.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/extra_credit/prefix_incr_and_decr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/extra_credit/prefix_incr_and_decr.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/kw_var_names.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/kw_var_names.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/local_var_missing_return.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/local_var_missing_return.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/mixed_precedence_assignment.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/mixed_precedence_assignment.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/non_short_circuit_or.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/non_short_circuit_or.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/null_statement.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | ; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/null_then_return.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/null_then_return.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/return_var.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/return_var.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/short_circuit_and_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/short_circuit_and_fail.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/short_circuit_or.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/short_circuit_or.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/unused_exp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/unused_exp.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/use_assignment_result.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/use_assignment_result.c -------------------------------------------------------------------------------- /test/tests/compiler/5_local_variables/valid/use_val_in_own_initializer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/5_local_variables/valid/use_val_in_own_initializer.c -------------------------------------------------------------------------------- /test/tests/compiler/6_statements_and_conditional_expressions/invalid_parse/empty_if_body.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | if (0) else return 0; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/6_statements_and_conditional_expressions/invalid_parse/extra_credit/label_expression_clause.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | 1 && label: 2; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/6_statements_and_conditional_expressions/invalid_parse/extra_credit/label_outside_function.c: -------------------------------------------------------------------------------- 1 | label: 2 | int main(void) { 3 | return 0; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /test/tests/compiler/6_statements_and_conditional_expressions/invalid_parse/if_no_parens.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | if 0 return 1; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/6_statements_and_conditional_expressions/invalid_parse/incomplete_ternary.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 1 ? 2; 3 | } 4 | -------------------------------------------------------------------------------- /test/tests/compiler/6_statements_and_conditional_expressions/valid/else.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/6_statements_and_conditional_expressions/valid/else.c -------------------------------------------------------------------------------- /test/tests/compiler/6_statements_and_conditional_expressions/valid/if_nested.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/6_statements_and_conditional_expressions/valid/if_nested.c -------------------------------------------------------------------------------- /test/tests/compiler/6_statements_and_conditional_expressions/valid/if_nested_2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/6_statements_and_conditional_expressions/valid/if_nested_2.c -------------------------------------------------------------------------------- /test/tests/compiler/6_statements_and_conditional_expressions/valid/if_nested_3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/6_statements_and_conditional_expressions/valid/if_nested_3.c -------------------------------------------------------------------------------- /test/tests/compiler/6_statements_and_conditional_expressions/valid/if_nested_4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/6_statements_and_conditional_expressions/valid/if_nested_4.c -------------------------------------------------------------------------------- /test/tests/compiler/6_statements_and_conditional_expressions/valid/if_nested_5.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/6_statements_and_conditional_expressions/valid/if_nested_5.c -------------------------------------------------------------------------------- /test/tests/compiler/6_statements_and_conditional_expressions/valid/if_taken.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/6_statements_and_conditional_expressions/valid/if_taken.c -------------------------------------------------------------------------------- /test/tests/compiler/6_statements_and_conditional_expressions/valid/multiple_if.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/6_statements_and_conditional_expressions/valid/multiple_if.c -------------------------------------------------------------------------------- /test/tests/compiler/6_statements_and_conditional_expressions/valid/ternary.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/6_statements_and_conditional_expressions/valid/ternary.c -------------------------------------------------------------------------------- /test/tests/compiler/7_compound_statements/invalid_parse/extra_brace.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/7_compound_statements/invalid_parse/extra_brace.c -------------------------------------------------------------------------------- /test/tests/compiler/7_compound_statements/invalid_parse/missing_brace.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/7_compound_statements/invalid_parse/missing_brace.c -------------------------------------------------------------------------------- /test/tests/compiler/7_compound_statements/invalid_parse/missing_semicolon.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/7_compound_statements/invalid_parse/missing_semicolon.c -------------------------------------------------------------------------------- /test/tests/compiler/7_compound_statements/invalid_parse/ternary_blocks.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/7_compound_statements/invalid_parse/ternary_blocks.c -------------------------------------------------------------------------------- /test/tests/compiler/7_compound_statements/invalid_semantics/double_define.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/7_compound_statements/invalid_semantics/double_define.c -------------------------------------------------------------------------------- /test/tests/compiler/7_compound_statements/invalid_semantics/out_of_scope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/7_compound_statements/invalid_semantics/out_of_scope.c -------------------------------------------------------------------------------- /test/tests/compiler/7_compound_statements/invalid_semantics/use_before_declare.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/7_compound_statements/invalid_semantics/use_before_declare.c -------------------------------------------------------------------------------- /test/tests/compiler/7_compound_statements/valid/assign_to_self.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/7_compound_statements/valid/assign_to_self.c -------------------------------------------------------------------------------- /test/tests/compiler/7_compound_statements/valid/assign_to_self_2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/7_compound_statements/valid/assign_to_self_2.c -------------------------------------------------------------------------------- /test/tests/compiler/7_compound_statements/valid/declaration_only.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/7_compound_statements/valid/declaration_only.c -------------------------------------------------------------------------------- /test/tests/compiler/7_compound_statements/valid/empty_blocks.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/7_compound_statements/valid/empty_blocks.c -------------------------------------------------------------------------------- /test/tests/compiler/7_compound_statements/valid/extra_credit/goto_inner_scope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/7_compound_statements/valid/extra_credit/goto_inner_scope.c -------------------------------------------------------------------------------- /test/tests/compiler/7_compound_statements/valid/extra_credit/goto_outer_scope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/7_compound_statements/valid/extra_credit/goto_outer_scope.c -------------------------------------------------------------------------------- /test/tests/compiler/7_compound_statements/valid/hidden_then_visible.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/7_compound_statements/valid/hidden_then_visible.c -------------------------------------------------------------------------------- /test/tests/compiler/7_compound_statements/valid/hidden_variable.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/7_compound_statements/valid/hidden_variable.c -------------------------------------------------------------------------------- /test/tests/compiler/7_compound_statements/valid/inner_uninitialized.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/7_compound_statements/valid/inner_uninitialized.c -------------------------------------------------------------------------------- /test/tests/compiler/7_compound_statements/valid/multiple_vars_same_name.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/7_compound_statements/valid/multiple_vars_same_name.c -------------------------------------------------------------------------------- /test/tests/compiler/7_compound_statements/valid/nested_if.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/7_compound_statements/valid/nested_if.c -------------------------------------------------------------------------------- /test/tests/compiler/7_compound_statements/valid/similar_var_names.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/7_compound_statements/valid/similar_var_names.c -------------------------------------------------------------------------------- /test/tests/compiler/7_compound_statements/valid/use_in_inner_scope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/7_compound_statements/valid/use_in_inner_scope.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_parse/decl_as_loop_body.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_parse/decl_as_loop_body.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_parse/do_extra_semicolon.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_parse/do_extra_semicolon.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_parse/do_missing_semicolon.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_parse/do_missing_semicolon.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_parse/do_while_empty_parens.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_parse/do_while_empty_parens.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_parse/extra_credit/label_in_loop_header.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_parse/extra_credit/label_in_loop_header.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_parse/extra_credit/label_is_not_block.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_parse/extra_credit/label_is_not_block.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_parse/extra_credit/switch_case_declaration.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_parse/extra_credit/switch_case_declaration.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_parse/extra_credit/switch_goto_case.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_parse/extra_credit/switch_goto_case.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_parse/extra_credit/switch_missing_paren.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_parse/extra_credit/switch_missing_paren.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_parse/extra_credit/switch_no_condition.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_parse/extra_credit/switch_no_condition.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_parse/extra_for_header_clause.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_parse/extra_for_header_clause.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_parse/invalid_for_declaration.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_parse/invalid_for_declaration.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_parse/missing_for_header_clause.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_parse/missing_for_header_clause.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_parse/missing_for_header_clauses.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_parse/missing_for_header_clauses.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_parse/missing_for_header_semicolon.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_parse/missing_for_header_semicolon.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_parse/paren_mismatch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_parse/paren_mismatch.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_parse/statement_in_condition.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_parse/statement_in_condition.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_parse/while_missing_paren.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_parse/while_missing_paren.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_semantics/break_not_in_loop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_semantics/break_not_in_loop.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_semantics/continue_not_in_loop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_semantics/continue_not_in_loop.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_semantics/extra_credit/case_continue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_semantics/extra_credit/case_continue.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_semantics/extra_credit/case_outside_switch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_semantics/extra_credit/case_outside_switch.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_semantics/extra_credit/default_continue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_semantics/extra_credit/default_continue.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_semantics/extra_credit/duplicate_case.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_semantics/extra_credit/duplicate_case.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_semantics/extra_credit/duplicate_default.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_semantics/extra_credit/duplicate_default.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_semantics/extra_credit/non_constant_case.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_semantics/extra_credit/non_constant_case.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_semantics/extra_credit/switch_continue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_semantics/extra_credit/switch_continue.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_semantics/out_of_scope_do_loop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_semantics/out_of_scope_do_loop.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/invalid_semantics/out_of_scope_loop_variable.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/invalid_semantics/out_of_scope_loop_variable.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/break.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/break.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/break_immediate.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/break_immediate.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/continue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/continue.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/continue_empty_post.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/continue_empty_post.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/do_while.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/do_while.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/do_while_break_immediate.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/do_while_break_immediate.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/empty_expression.c: -------------------------------------------------------------------------------- 1 | int main(void) { 2 | return 0;;; 3 | } 4 | 5 | -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/empty_loop_body.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/empty_loop_body.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/case_block.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/case_block.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/compound_assignment_for_loop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/compound_assignment_for_loop.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/duffs_device.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/duffs_device.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/goto_bypass_condition.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/goto_bypass_condition.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/goto_bypass_init_exp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/goto_bypass_init_exp.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/goto_bypass_post_exp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/goto_bypass_post_exp.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/label_loop_body.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/label_loop_body.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/loop_header_postfix_and_prefix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/loop_header_postfix_and_prefix.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/loop_in_switch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/loop_in_switch.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/post_exp_incr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/post_exp_incr.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/switch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/switch.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/switch_assign_in_condition.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/switch_assign_in_condition.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/switch_break.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/switch_break.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/switch_decl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/switch_decl.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/switch_default.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/switch_default.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/switch_default_fallthrough.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/switch_default_fallthrough.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/switch_default_not_last.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/switch_default_not_last.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/switch_default_only.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/switch_default_only.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/switch_empty.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/switch_empty.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/switch_fallthrough.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/switch_fallthrough.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/switch_goto_mid_case.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/switch_goto_mid_case.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/switch_in_loop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/switch_in_loop.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/switch_nested_cases.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/switch_nested_cases.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/switch_nested_not_taken.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/switch_nested_not_taken.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/switch_nested_switch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/switch_nested_switch.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/switch_no_case.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/switch_no_case.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/switch_not_taken.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/switch_not_taken.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/switch_single_case.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/switch_single_case.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/switch_with_continue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/switch_with_continue.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/extra_credit/switch_with_continue_2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/extra_credit/switch_with_continue_2.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/for.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/for.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/for_absent_condition.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/for_absent_condition.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/for_absent_post.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/for_absent_post.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/for_decl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/for_decl.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/for_nested_shadow.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/for_nested_shadow.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/for_shadow.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/for_shadow.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/multi_break.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/multi_break.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/multi_continue_same_loop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/multi_continue_same_loop.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/nested_break.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/nested_break.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/nested_continue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/nested_continue.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/nested_loop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/nested_loop.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/null_for_header.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/null_for_header.c -------------------------------------------------------------------------------- /test/tests/compiler/8_loops/valid/while.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/8_loops/valid/while.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_declarations/assign_to_fun_call.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_declarations/assign_to_fun_call.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_declarations/params_with_same_name.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_declarations/params_with_same_name.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_declarations/redefine_fun_as_var.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_declarations/redefine_fun_as_var.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_declarations/redefine_parameter.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_declarations/redefine_parameter.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_declarations/redefine_var_as_fun.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_declarations/redefine_var_as_fun.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_declarations/undeclared_fun.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_declarations/undeclared_fun.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_declarations/wrong_parameter_names.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_declarations/wrong_parameter_names.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_labels/extra_credit/goto_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_labels/extra_credit/goto_function.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_parse/call_non_identifier.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_parse/call_non_identifier.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_parse/decl_wrong_closing_delim.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_parse/decl_wrong_closing_delim.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_parse/fun_decl_for_loop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_parse/fun_decl_for_loop.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_parse/funcall_wrong_closing_delim.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_parse/funcall_wrong_closing_delim.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_parse/function_call_declaration.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_parse/function_call_declaration.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_parse/function_returning_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_parse/function_returning_function.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_parse/initialize_function_as_variable.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_parse/initialize_function_as_variable.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_parse/trailing_comma.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_parse/trailing_comma.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_parse/trailing_comma_decl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_parse/trailing_comma_decl.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_parse/unclosed_paren_decl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_parse/unclosed_paren_decl.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_parse/var_init_in_param_list.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_parse/var_init_in_param_list.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_types/assign_fun_to_variable.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_types/assign_fun_to_variable.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_types/assign_value_to_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_types/assign_value_to_function.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_types/call_variable_as_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_types/call_variable_as_function.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_types/divide_by_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_types/divide_by_function.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_types/extra_credit/bitwise_op_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_types/extra_credit/bitwise_op_function.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_types/extra_credit/switch_on_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_types/extra_credit/switch_on_function.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_types/multiple_function_definitions.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_types/multiple_function_definitions.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_types/multiple_function_definitions_2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_types/multiple_function_definitions_2.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_types/too_few_args.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_types/too_few_args.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/invalid_types/too_many_args.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/invalid_types/too_many_args.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/arguments_in_registers/dont_clobber_edx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/arguments_in_registers/dont_clobber_edx.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/arguments_in_registers/expression_args.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/arguments_in_registers/expression_args.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/arguments_in_registers/fibonacci.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/arguments_in_registers/fibonacci.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/arguments_in_registers/hello_world.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/arguments_in_registers/hello_world.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/arguments_in_registers/single_arg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/arguments_in_registers/single_arg.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/extra_credit/dont_clobber_ecx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/extra_credit/dont_clobber_ecx.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/extra_credit/goto_shared_name.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/extra_credit/goto_shared_name.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/extra_credit/label_naming_scheme.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/extra_credit/label_naming_scheme.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/libraries/addition.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/libraries/addition.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/libraries/addition_client.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/libraries/addition_client.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/libraries/many_args.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/libraries/many_args.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/libraries/many_args_client.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/libraries/many_args_client.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/libraries/no_function_calls/division.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/libraries/no_function_calls/division.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/libraries/system_call.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/libraries/system_call.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/libraries/system_call_client.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/libraries/system_call_client.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/no_arguments/forward_decl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/no_arguments/forward_decl.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/no_arguments/function_shadows_variable.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/no_arguments/function_shadows_variable.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/no_arguments/multiple_declarations.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/no_arguments/multiple_declarations.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/no_arguments/no_return_value.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/no_arguments/no_return_value.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/no_arguments/precedence.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/no_arguments/precedence.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/no_arguments/use_function_in_expression.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/no_arguments/use_function_in_expression.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/no_arguments/variable_shadows_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/no_arguments/variable_shadows_function.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/stack_arguments/call_putchar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/stack_arguments/call_putchar.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/stack_arguments/lots_of_arguments.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/stack_arguments/lots_of_arguments.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/stack_arguments/stack_alignment.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/stack_arguments/stack_alignment.c -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/stack_arguments/stack_alignment_linux.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/stack_arguments/stack_alignment_linux.s -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/stack_arguments/stack_alignment_osx.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/stack_arguments/stack_alignment_osx.s -------------------------------------------------------------------------------- /test/tests/compiler/9_functions/valid/stack_arguments/test_for_memory_leaks.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/compiler/9_functions/valid/stack_arguments/test_for_memory_leaks.c -------------------------------------------------------------------------------- /test/tests/preprocessor/preprocessor/1/2/3/4/5/6/7/8/9/10/11/12/test-header_12.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/preprocessor/preprocessor/1/2/3/4/5/6/7/8/9/10/11/12/test-header_12.h -------------------------------------------------------------------------------- /test/tests/preprocessor/preprocessor/1/2/3/4/5/6/7/8/9/10/11/test-header_11.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/preprocessor/preprocessor/1/2/3/4/5/6/7/8/9/10/11/test-header_11.h -------------------------------------------------------------------------------- /test/tests/preprocessor/preprocessor/1/2/3/4/5/6/7/8/9/10/test-header_10.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/preprocessor/preprocessor/1/2/3/4/5/6/7/8/9/10/test-header_10.h -------------------------------------------------------------------------------- /test/tests/preprocessor/preprocessor/1/2/3/4/5/6/7/8/9/test-header_9.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/preprocessor/preprocessor/1/2/3/4/5/6/7/8/9/test-header_9.h -------------------------------------------------------------------------------- /test/tests/preprocessor/preprocessor/1/2/3/4/5/6/7/8/test-header_8.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/preprocessor/preprocessor/1/2/3/4/5/6/7/8/test-header_8.h -------------------------------------------------------------------------------- /test/tests/preprocessor/preprocessor/1/2/3/4/5/6/7/test-header_7.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/preprocessor/preprocessor/1/2/3/4/5/6/7/test-header_7.h -------------------------------------------------------------------------------- /test/tests/preprocessor/preprocessor/1/2/3/4/5/6/test-header_6.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/preprocessor/preprocessor/1/2/3/4/5/6/test-header_6.h -------------------------------------------------------------------------------- /test/tests/preprocessor/preprocessor/1/2/3/4/5/test-header_5.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/preprocessor/preprocessor/1/2/3/4/5/test-header_5.h -------------------------------------------------------------------------------- /test/tests/preprocessor/preprocessor/1/2/3/4/test-header_4.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/preprocessor/preprocessor/1/2/3/4/test-header_4.h -------------------------------------------------------------------------------- /test/tests/preprocessor/preprocessor/1/2/3/test-header_3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/preprocessor/preprocessor/1/2/3/test-header_3.h -------------------------------------------------------------------------------- /test/tests/preprocessor/preprocessor/1/2/test-header_2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/preprocessor/preprocessor/1/2/test-header_2.h -------------------------------------------------------------------------------- /test/tests/preprocessor/preprocessor/1/test-header_1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/preprocessor/preprocessor/1/test-header_1.h -------------------------------------------------------------------------------- /test/tests/preprocessor/preprocessor/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/preprocessor/preprocessor/main.c -------------------------------------------------------------------------------- /test/tests/preprocessor/preprocessor/test-header_0.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/tests/preprocessor/preprocessor/test-header_63.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tests/preprocessor/preprocessor/test-header_63.h -------------------------------------------------------------------------------- /test/tools/.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tools/.clang-format -------------------------------------------------------------------------------- /test/tools/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cd ../ 4 | ./build.sh ${@} 5 | cd tools/ 6 | 7 | exit 0 8 | -------------------------------------------------------------------------------- /test/tools/check_idlen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tools/check_idlen.py -------------------------------------------------------------------------------- /test/tools/format.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tools/format.sh -------------------------------------------------------------------------------- /test/tools/get-tests-macos.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tools/get-tests-macos.sh -------------------------------------------------------------------------------- /test/tools/get-tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tools/get-tests.sh -------------------------------------------------------------------------------- /test/tools/print-errors.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tools/print-errors.sh -------------------------------------------------------------------------------- /test/tools/print_errors.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tools/print_errors.in -------------------------------------------------------------------------------- /test/tools/profile.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tools/profile.sh -------------------------------------------------------------------------------- /test/tools/replace_all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tools/replace_all.sh -------------------------------------------------------------------------------- /test/tools/test-suite.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tools/test-suite.sh -------------------------------------------------------------------------------- /test/tools/time-performance.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainducrocq/wheelcc/HEAD/test/tools/time-performance.sh --------------------------------------------------------------------------------