search for: curfun

Displaying 3 results from an estimated 3 matches for "curfun".

2006 Nov 08
0
[LLVMdev] 1.9 Next Steps
...fore '}' token with bison (GNU Bison) 1.75 This seems to fix it: --- lib/AsmParser/llvmAsmParser.y.orig Wed Nov 8 16:53:24 2006 +++ lib/AsmParser/llvmAsmParser.y Wed Nov 8 16:53:34 2006 @@ -2102,8 +2102,8 @@ }; FnDeclareLinkage: /*default*/ | - DLLIMPORT { CurFun.Linkage = GlobalValue::DLLImportLinkage } | - EXTERN_WEAK { CurFun.Linkage = GlobalValue::DLLImportLinkage }; + DLLIMPORT { CurFun.Linkage = GlobalValue::DLLImportLinkage; } | + EXTERN_WEAK { CurFun.Linkage = GlobalValue::DLLImportLinkage; };...
2011 Sep 26
4
Testing for arguments in a function
...ts() if(any(sapply(curArgs, missing))){ stop() } ret = vec[i] ret } Obviously "current.function.arguments()" is imaginary, but is there something that would return the current arguments in a way that could be passed to "missing()"?? I tried this: curfun = substr(match.call()[1],1,nchar(match.call()[1])) curargs = strsplit(deparse(args(curfun)),',')[[1]] curargs = gsub('function|\\(| |\\)','',curargs) sapply(curargs,missing(x)) and this: sapply(curargs,function(txt) eval(substitute(missing(x), list(x=txt))))...
2006 Nov 08
6
[LLVMdev] 1.9 Next Steps
I created the 1.9 release branch last night. As a reminder, please do not check in any code changes to the release branch. Please send me email if you have changes that need to be merged into the release branch. To check out the release branch: cvs -d <CVS Repository> co -r release_19 llvm cvs -d <CVS Repository> co -r release_19 llvm-test cvs -d <CVS Repository> co -r