Internals: Favor s string literals. No functional change.

This commit is contained in:
Wilson Snyder
2024-07-14 11:39:45 -04:00
parent 74ae879c2f
commit 131623de34
16 changed files with 35 additions and 37 deletions
+1 -1
View File
@@ -246,7 +246,7 @@ class LinkIncVisitor final : public VNVisitor {
// Prepare a temporary variable
FileLine* const fl = nodep->fileline();
const string name = string{"__Vincrement"} + cvtToStr(++m_modIncrementsNum);
const string name = "__Vincrement"s + cvtToStr(++m_modIncrementsNum);
AstVar* const varp = new AstVar{
fl, VVarType::BLOCKTEMP, name, VFlagChildDType{},
new AstRefDType{fl, AstRefDType::FlagTypeOfExpr{}, readp->cloneTree(true)}};