Changeset e89f4b1
- Timestamp:
- Jul 25, 2018, 2:02:44 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 91788fa
- Parents:
- e68b3a8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/InitTweak/FixGlobalInit.cc ¶
re68b3a8 re89f4b1 74 74 std::string ret = name.substr( 0, name.find( '.' ) ); 75 75 // replace invalid characters with _ 76 static std::string invalid = "/- ";76 static std::string invalid = "/-@"; 77 77 replace_if( ret.begin(), ret.end(), []( char c ) { return invalid.find(c) != std::string::npos; }, '_' ); 78 78 return ret;
Note: See TracChangeset
for help on using the changeset viewer.