Mercurial > projects > ldc
view lphobos/llvmdc-build @ 488:993b217af574
Error if there is no this in a call requiring this.
Fixes:
nocompile/b/bug_type_308_G,H
nocompile/bug_e2ir_814
nocompile/i/inline_18_A,B
nocompile/inline_07
nocompile/static_09
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 10 Aug 2008 10:50:53 +0200 |
parents | 526385b6d1fd |
children | 6aaa3d3c1183 |
line wrap: on
line source
#!/bin/sh export PATH=$PATH:/opt/llvm/bin export FILE=$1; shift export LLVMDC_PATH=~/llvmdc PARAM=$(for p_file in $($LLVMDC_PATH/bin/llvmdc $FILE -I~/llvmdc/lphobos -c -v -of/dev/null |grep import \ |sed -e "s/import *//" -e "s/\t.*//" \ |sed -e "s/\./\//g" -e "s/$/\.d/"); do if [ -f $p_file ]; then echo $p_file; fi; done) echo llvmdc $FILE $@ $PARAM $LLVMDC_PATH/bin/llvmdc $FILE $@ $PARAM