flang-compiler / f18

F18 is a front-end for Fortran intended to replace the existing front-end in the Flang compiler
230 stars 48 forks source link

Audit std::string usage in F18 and consider migrating to LLVM alternative #998

Open RichBarton-Arm opened 4 years ago

RichBarton-Arm commented 4 years ago

As part of making the F18 codebase more like LLVM, we should audit our use of std::string and try and bring ourselves closer in alignment with LLVM guidelines

sscalpone commented 4 years ago

My reading of the guideline is to use std::string except when increasing the size of a string & to prefer twine over concatenating.