On 10/10/2014 06:42 PM, Peter Collingbourne wrote: > A colleague has suggested a perhaps nicer syntax: > > __builtin_call_chain(pointer, call) where call must be a call expression
I like this. Unlike the other suggestions, it doesn't mess with the parsing of the "regular" part of the function call. And, depending on what point the builtin is lowered and applied to the AST, it might not require any parsing changes at all. I'll have a look at this next week. Thanks. r~