mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: Add origNameProtect. No functional change intended.
This commit is contained in:
@@ -146,6 +146,9 @@ string AstNode::encodeNumber(vlsint64_t num) {
|
||||
string AstNode::nameProtect() const {
|
||||
return VIdProtect::protectIf(name(), protect());
|
||||
}
|
||||
string AstNode::origNameProtect() const {
|
||||
return VIdProtect::protectIf(origName(), protect());
|
||||
}
|
||||
|
||||
string AstNode::shortName() const {
|
||||
string pretty = name();
|
||||
|
||||
Reference in New Issue
Block a user