101 size_t posLangle = name.find_first_of(
'<');
104 if ((0 < posLangle && posLangle < (name.length() - 1))
105 && name[posLangle+1] !=
'<') {
107 string x = name.substr(0, posLangle );
110 for (
uint i = posLangle; i < name.size(); i++) {
113 bool save_c = (nesting == 0);
120 save_c = (save_c || (nesting == 0));
178 if (isGenerated(name, s_inletNorm_pfx, s_inletNorm_sfx)) {
179 return basename(name, s_inletNorm_pfx, s_inletNorm_sfx);
181 else if (isGenerated(name, s_inletFast_pfx, s_inletFast_sfx)) {
182 return basename(name, s_inletFast_pfx, s_inletFast_sfx);
184 else if (isGenerated(name, s_inletSlow_pfx, s_inletSlow_sfx)) {
185 return basename(name, s_inletSlow_pfx, s_inletSlow_sfx);
191 else if (isGenerated(name, s_procSlow_pfx, s_procSlow_sfx)) {
192 return basename(name, s_procSlow_pfx, s_procSlow_sfx);
194 else if (isGenerated(name, s_procImport_pfx, s_procImport_sfx)) {
195 return basename(name, s_procImport_pfx, s_procImport_sfx);
197 else if (isGenerated(name, s_procExport_pfx, s_procExport_sfx)) {
198 return basename(name, s_procExport_pfx, s_procExport_sfx);
204 else if (name ==
"_cilk_cilk_main_import") {
206 return "invoke_main_slow";
static const std::string s_procImport_sfx
static const std::string cilkmain
static const std::string s_procSlow_sfx
static const std::string s_inletFast_pfx
static const std::string s_procExport_pfx
static const std::string s_procExport_sfx
virtual std::string canonicalize(const std::string &name)
std::string canonicalizeCppTemplate(const std::string &name)
static const std::string s_inletNorm_pfx
static const std::string s_procSlow_pfx
static const std::string s_inletSlow_sfx
static const std::string s_inletSlow_pfx
string basename(const char *fName)
static const std::string s_inletFast_sfx
static const std::string s_inletNorm_sfx
static const std::string s_procImport_pfx