We are able to bind NativeCodeCall result as binding operation. To make
table-gen have better understanding in the form of helper function,
we need to specify the number of return values in the NativeCodeCall
template. A VoidNativeCodeCall is added for void case.
Nice, thanks, small nits.
std::string repl = formatv(...);
? Then you don't need the std::string cast below (same in the other site below which looks identical below - should these always be the same and if so should we use helper?)
I think .str() is not needed as you assign directly to a variable of type std::string
How about flipping the order here to ensure that this is called?
Could you expand here as to what is the incorrect form and how it is captured?
This should not be needed as varName is of type std::string