quakeforge/tools/qfcc/source
Bill Currie 3aa3a0945a Scan the statements in a node with suspect var usage.
When the naive uninitialized variable detection finds a node with possible
uses of uninitialized variables, the statements in the node are scanned one
at a time checking each usage and removing uninitialized definitions as
appropriate. vectest.r now compiles without warnings. As an added bonus,
accurate line number information is reported for uninitialized variables.

Unfortunately, there is still a problem with uninitialized temps in
switch.r, but that might just be poor handling of temp op aliases.
2012-12-10 20:49:08 +09:00
..
.indent.pro indent whitespace cleanup. not perfect, but a bit more consistent now 2001-12-06 19:49:40 +00:00
class.c Document def.h. 2012-12-02 19:54:20 +09:00
codespace.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
constfold.c Make values independent objects. 2012-11-15 13:44:06 +09:00
cpp.c Fall back to execve/wait when execvp and waitpid are unavailable. 2012-08-19 13:18:38 +09:00
dags.c Rename set_iter_t's member to value. 2012-12-06 21:11:38 +09:00
debug.c Move set.c into libQFutil. 2012-12-06 20:52:53 +09:00
def.c Add convenience functions for getting a def's offset and size. 2012-12-10 14:40:43 +09:00
defspace.c Move set.c into libQFutil. 2012-12-06 20:52:53 +09:00
diagnostic.c Add a non-error diagnostic that can't be silenced. 2012-05-03 13:24:24 +09:00
disassemble.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
dot.c Create a function to generalize dot dumping. 2012-11-15 13:44:08 +09:00
dot_dag.c Rename set_iter_t's member to value. 2012-12-06 21:11:38 +09:00
dot_expr.c Be more clear about integral expression types. 2012-12-05 22:18:13 +09:00
dot_flow.c Add dummy nodes at the beginning and end of the graph. 2012-12-10 13:56:26 +09:00
dot_sblock.c Move and rename statement related flow_is_* and flow_get_* 2012-11-30 14:06:52 +09:00
dump_globals.c Add a param flag to defs. 2012-11-20 17:50:59 +09:00
dump_lines.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
dump_modules.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
dump_strings.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
emit.c Move flowvar/deflabel from symbol_t to def_t. 2012-12-05 19:47:22 +09:00
expr.c Move set.c into libQFutil. 2012-12-06 20:52:53 +09:00
flow.c Scan the statements in a node with suspect var usage. 2012-12-10 20:49:08 +09:00
function.c Clean up the flow api a little. 2012-12-09 20:50:53 +09:00
grab.c Move set.c into libQFutil. 2012-12-06 20:52:53 +09:00
idstuff.c Use dstring for progdefs.h writing. 2012-05-02 23:39:49 +09:00
linker.c Move set.c into libQFutil. 2012-12-06 20:52:53 +09:00
Makefile.am Move set.c into libQFutil. 2012-12-06 20:52:53 +09:00
method.c Do a little bit of cleanup. 2012-12-04 12:48:52 +09:00
obj_file.c Fix an ownership problem with line numbers in qfos. 2012-12-02 18:59:35 +09:00
obj_type.c Rename the storage_class_t enum values. 2012-12-02 10:11:30 +09:00
opcodes.c Add some very evil pragmas. 2012-11-22 21:59:01 +09:00
options.c Enable live var flow dumps. 2012-12-10 15:27:07 +09:00
pragma.c Add some very evil pragmas. 2012-11-22 21:59:01 +09:00
qc-lex.l Do a little bit of cleanup. 2012-12-04 12:48:52 +09:00
qc-parse.y Fix the wrong space for static vars. 2012-12-04 14:25:06 +09:00
qfcc.c Make defspaces typed. 2012-12-04 14:16:52 +09:00
qfpreqcc Better handling of progs.dat and line numbers. 2012-11-15 14:53:09 +09:00
qfprogs.c Support progs.dat when dumping type encodings. 2012-11-15 11:58:13 +09:00
qp-lex.l Do a little bit of cleanup. 2012-12-04 12:48:52 +09:00
qp-parse.y Rename the storage_class_t enum values. 2012-12-02 10:11:30 +09:00
reloc.c Move set.c into libQFutil. 2012-12-06 20:52:53 +09:00
shared.c Rename the storage_class_t enum values. 2012-12-02 10:11:30 +09:00
statements.c Move set.c into libQFutil. 2012-12-06 20:52:53 +09:00
strpool.c Separate out C and html quoting into separate functions. 2012-10-30 12:31:22 +09:00
struct.c Do a little bit of cleanup. 2012-12-04 12:48:52 +09:00
stub.c Do a little bit of const correctness for type.[ch] 2012-12-05 22:15:19 +09:00
switch.c Fix jumpb's operand types. 2012-12-05 22:20:55 +09:00
symtab.c Move set.c into libQFutil. 2012-12-06 20:52:53 +09:00
type.c Move set.c into libQFutil. 2012-12-06 20:52:53 +09:00
value.c Move set.c into libQFutil. 2012-12-06 20:52:53 +09:00