Internals: Fix null skipRef for consistency. No functional change intended.

This commit is contained in:
Wilson Snyder 2024-11-26 22:10:54 -05:00
parent bee344d1ae
commit e14903cfb2

View File

@ -1069,7 +1069,7 @@ public:
// METHODS
bool similarDType(const AstNodeDType* samep) const override { return this == samep; }
AstBasicDType* basicp() const override VL_MT_STABLE { return nullptr; }
AstNodeDType* skipRefp() const override VL_MT_STABLE { return nullptr; }
AstNodeDType* skipRefp() const override VL_MT_STABLE { return (AstNodeDType*)this; }
// cppcheck-suppress csyleCast
AstNodeDType* skipRefToConstp() const override { return (AstNodeDType*)this; }
// cppcheck-suppress csyleCast