mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 05:13:16 +02:00
Internals: Use C++14 quoted literal std::string
This commit is contained in:
+1
-1
@@ -303,7 +303,7 @@ class ScopeVisitor final : public VNVisitor {
|
||||
}
|
||||
void visit(AstScopeName* nodep) override {
|
||||
// If there's a %m in the display text, we add a special node that will contain the name()
|
||||
const string prefix = std::string{"__DOT__"} + m_scopep->name();
|
||||
const string prefix = "__DOT__"s + m_scopep->name();
|
||||
// TOP and above will be the user's name().
|
||||
// Note 'TOP.' is stripped by scopePrettyName
|
||||
// To keep correct visual order, must add before other Text's
|
||||
|
||||
Reference in New Issue
Block a user