compiler/resolution/wrappers.cpp
// The returned string is canonical ie from astr().
The returned string is canonical ie from astr().
The returned string is canonical ie from astr () .
const char* unwrapFnName(FnSymbol* fn) {
  INT_ASSERT(! strncmp(fn->name, "chpl_promo", 10));
  const char* uscore = strchr(fn->name+11, '_');
  return astr(uscore+1);
}
const char * unwrapFnName ( FnSymbol * fn ) { INT_ASSERT ( ! strncmp ( fn -> name , " " , 10 ) ) ; const char * uscore = strchr ( fn -> name + 11 , ' ' ) ; return astr ( uscore + 1 ) ; }
The returned string is canonical ie from astr().
The returned string is canonical ie from astr () .