quakeforge/tools/qfcc/source
Bill Currie d72113f5cb [qfcc] Select correct generic function for references
When the parameter is a reference, implicit casting is not allowed, but
when the parameter is by value and the argument is a reference, the
argument is dereferenced and promotion is allowed.

However, this covers only the selection of generic functions. It doesn't
deal with otherwise overloaded functions, nor does it do the actual
dereferencing or address taking.
2024-10-09 13:33:38 +09:00
..
.indent.pro
algebra.c [qfcc] Apply suspenders and a belt to the dimension check 2024-09-24 11:17:01 +09:00
attribute.c [qfcc] Allow single-constant attribute values 2024-09-20 12:28:02 +09:00
class.c [qfcc] Add basic (type) support for references 2024-10-08 11:45:51 +09:00
codespace.c [gamecode] Move progs auxiliary headers into a subdirectory 2022-01-09 00:26:52 +09:00
constfold.c [qfcc] Parse vector literals correctly 2024-09-03 20:50:31 +09:00
cpp.c [win] Fix some bitrot for building 2024-09-24 19:49:41 +09:00
dags.c [qfcc] Improve support for matrix types 2024-09-05 14:06:30 +09:00
debug.c [qfcc] Fix some glsl parsing issues 2024-09-01 17:02:42 +09:00
def.c [qfcc] Detect shadowed parameters in glsl 2024-10-07 09:51:03 +09:00
defspace.c [qfcc] Allow aligned despace allocs to be overridden 2024-09-10 20:44:51 +09:00
diagnostic.c Merge branch 'master' into wip-ruaspirv 2024-04-18 09:46:10 +09:00
disassemble.c [qfprogs] Create a stack for disassembly of locals 2023-09-12 22:21:55 +09:00
dot.c [qfcc] Make expressions const-correct 2023-09-29 10:15:59 +09:00
dot_dag.c [qfcc] Avoid (null) labels for dot graphs 2024-10-01 14:30:09 +09:00
dot_expr.c [qfcc] Avoid (null) labels for dot graphs 2024-10-01 14:30:09 +09:00
dot_flow.c [qfcc] Avoid (null) labels for dot graphs 2024-10-01 14:30:09 +09:00
dot_sblock.c [qfcc] Avoid (null) labels for dot graphs 2024-10-01 14:30:09 +09:00
dot_type.c [qfcc] Avoid (null) labels for dot graphs 2024-10-01 14:30:09 +09:00
dump_globals.c [qfprogs] Use a backup type array for qcc progs 2024-08-17 15:16:09 +09:00
dump_lines.c [gamecode] Use a struct for offset/count pairs 2022-01-26 19:30:25 +09:00
dump_modules.c [gamecode] Use a struct for offset/count pairs 2022-01-26 19:30:25 +09:00
dump_strings.c [qfprogs] Dump hex for non-ascii chars 2022-12-10 21:53:00 +09:00
emit.c [qfcc] Make the type union anonymous 2024-08-16 17:23:29 +09:00
evaluate.c [qfcc] Add a code generator for type expressions 2024-09-06 01:04:38 +09:00
evaluate_type.c [qfcc] Move type encoding defs into an array 2024-09-15 12:05:57 +09:00
expr.c [qfcc] Add basic (type) support for references 2024-10-08 11:45:51 +09:00
expr_algebra.c [qfcc] Optimize negating anti-commutative operations 2024-09-30 19:23:37 +09:00
expr_assign.c [qfcc] Add basic (type) support for references 2024-10-08 11:45:51 +09:00
expr_binary.c [qfcc] Add basic (type) support for references 2024-10-08 11:45:51 +09:00
expr_bool.c [qfcc] Remove union hack for block expressions 2024-10-03 19:11:49 +09:00
expr_cast.c [qfcc] Add basic (type) support for references 2024-10-08 11:45:51 +09:00
expr_compound.c [qfcc] Use separate symbol types for def and offset 2024-09-20 11:39:16 +09:00
expr_construct.c [qfcc] Add declaration expressions 2024-10-04 11:51:34 +09:00
expr_dag.c [qfcc] Add declaration expressions 2024-10-04 11:51:34 +09:00
expr_obj.c [qfcc] Check receiver type a second type 2024-09-04 10:37:26 +09:00
expr_optimize.c [qfcc] Respect parentheses when scattering sums 2024-09-30 13:51:52 +09:00
expr_process.c [qfcc] Defer return expressions 2024-10-08 11:46:52 +09:00
expr_type.c [qfcc] Move type encoding defs into an array 2024-09-15 12:05:57 +09:00
expr_unary.c [qfcc] Optimize negating anti-commutative operations 2024-09-30 19:23:37 +09:00
expr_vector.c [qfcc] Implement glsl's contructors for math types 2024-08-30 13:54:33 +09:00
flow.c [qfcc] Implement parameter qualifiers in Ruamoko 2024-09-03 18:07:42 +09:00
function.c [qfcc] Select correct generic function for references 2024-10-09 13:33:38 +09:00
glsl-attribute.c [qfcc] Do basic error checking on layout qualifiers 2024-09-10 19:03:13 +09:00
glsl-block.c [qfcc] Give symtabs a name field 2024-09-21 23:09:38 +09:00
glsl-builtins.c [qfcc] Make some sideways progress with layouts 2024-09-20 12:24:51 +09:00
glsl-declaration.c [qfcc] Add declaration expressions 2024-10-04 11:51:34 +09:00
glsl-layout.c [qfcc] Implement specialization constants 2024-10-02 02:11:53 +09:00
glsl-parse.y [qfcc] Defer return expressions 2024-10-08 11:46:52 +09:00
glsl-sub_comp.c [qfcc] Implement many glsl qualifiers as attributes 2024-09-09 20:01:06 +09:00
glsl-sub_frag.c [qfcc] Implement many glsl qualifiers as attributes 2024-09-09 20:01:06 +09:00
glsl-sub_geom.c [qfcc] Implement many glsl qualifiers as attributes 2024-09-09 20:01:06 +09:00
glsl-sub_tesc.c [qfcc] Implement many glsl qualifiers as attributes 2024-09-09 20:01:06 +09:00
glsl-sub_tese.c [qfcc] Implement many glsl qualifiers as attributes 2024-09-09 20:01:06 +09:00
glsl-sub_vert.c [qfcc] Implement many glsl qualifiers as attributes 2024-09-09 20:01:06 +09:00
grab.c [util] Record allocated blocs for ALLOC 2023-03-05 18:31:30 +09:00
idstuff.c [gamecode] Use a struct for offset/count pairs 2022-01-26 19:30:25 +09:00
linker.c Merge branch 'master' into wip-ruaspirv 2024-04-18 09:46:10 +09:00
Makemodule.am [qfcc] Start properly separating target code 2024-10-06 14:29:02 +09:00
method.c [qfcc] Add basic (type) support for references 2024-10-08 11:45:51 +09:00
obj_file.c [qfcc] Move type encoding defs into an array 2024-09-15 12:05:57 +09:00
obj_type.c [qfcc] Use separate symbol types for def and offset 2024-09-20 11:39:16 +09:00
opcodes.c [qfcc] Always initialize Ruamoko opcodes 2023-09-01 14:40:05 +09:00
options.c [qfcc] Start properly separating target code 2024-10-06 14:29:02 +09:00
pragma.c [qfcc] Unify much of the qc and glsl parser interface 2024-04-18 12:41:24 +09:00
pre-parse.y [qfcc] Handle glsl version and extension directives 2024-09-01 17:01:05 +09:00
qc-lex.l [qfcc] Use separate symbol types for def and offset 2024-09-20 11:39:16 +09:00
qc-parse.y [qfcc] Add basic (type) support for references 2024-10-08 11:45:51 +09:00
qfcc.c [qfcc] Move ctor creation out of class_finish_module 2024-10-01 16:51:49 +09:00
qfpreqcc Better handling of progs.dat and line numbers. 2012-11-15 15:04:51 +09:00
qfprogs.c [qfprogs] Create a stack for disassembly of locals 2023-09-12 22:21:55 +09:00
qp-lex.l [qfcc] Parse vector literals correctly 2024-09-03 20:50:31 +09:00
qp-parse.y [qfcc] Implement location printing for the parsers 2024-08-30 13:13:13 +09:00
reloc.c [qfcc] Use rua_loc_t for most location information 2023-11-06 14:25:20 +09:00
shared.c [qfcc] Use a separate enum for glsl interfaces 2024-09-09 11:40:57 +09:00
statements.c [qfcc] Remove union hack for block expressions 2024-10-03 19:11:49 +09:00
strpool.c [qfcc] Make save_string null-safe 2024-07-07 15:18:51 +09:00
struct.c [qfcc] Use separate symbol types for def and offset 2024-09-20 11:39:16 +09:00
stub.c [qfcc] Clean up function.h a little 2024-08-20 09:26:24 +09:00
switch.c [qfcc] Parse vector literals correctly 2024-09-03 20:50:31 +09:00
symtab.c [qfcc] Add parameters to spir-v function scopes 2024-10-08 11:58:24 +09:00
target.c [qfcc] Start properly separating target code 2024-10-06 14:29:02 +09:00
target_rua.c [qfcc] Move function scope building into target 2024-10-07 09:48:44 +09:00
target_spirv.c [qfcc] Add parameters to spir-v function scopes 2024-10-08 11:58:24 +09:00
target_v6.c [qfcc] Move function scope building into target 2024-10-07 09:48:44 +09:00
type.c [qfcc] Select correct generic function for references 2024-10-09 13:33:38 +09:00
value.c [qfcc] Implement specialization constants 2024-10-02 02:11:53 +09:00