summary refs log tree commit diff
path: root/doc/llvm.txt
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-09-27 10:23:31 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-09-27 10:23:31 -0400
commitfd9c2e045f7cc953bebab2e2e65da9cd73b04f17 (patch)
tree3412d44844f6f77c19cadc2de1d74856db4ecc42 /doc/llvm.txt
parent09192cdeabeb185e54d60faa2b275a0e8e2a52a6 (diff)
downloadroux-fd9c2e045f7cc953bebab2e2e65da9cd73b04f17.tar.gz
accept "ret" for functions with a return type
This happens to be needed for C.  The standard mandates that a return
value is used if the caller uses it.  Surprisingly, if the return
"value" is not used, the callee can use "return;".

A better solution is to add an "undef" value and return it, "undef"
would also have other use cases for compiling C.
Diffstat (limited to 'doc/llvm.txt')
0 files changed, 0 insertions, 0 deletions