Apply 'make format'
This commit is contained in:
parent
28ecd8e908
commit
08279645ca
|
|
@ -2032,7 +2032,7 @@ void AstRefDType::dump(std::ostream& str) const {
|
||||||
s_recursing = true;
|
s_recursing = true;
|
||||||
str << " -> ";
|
str << " -> ";
|
||||||
if (const auto subp = subDTypep()) {
|
if (const auto subp = subDTypep()) {
|
||||||
if (typedefp()) str << "typedef=" << static_cast<void*>(typedefp())<< " -> ";
|
if (typedefp()) str << "typedef=" << static_cast<void*>(typedefp()) << " -> ";
|
||||||
subp->dump(str);
|
subp->dump(str);
|
||||||
} else if (const auto subp = typedefp()) {
|
} else if (const auto subp = typedefp()) {
|
||||||
subp->dump(str);
|
subp->dump(str);
|
||||||
|
|
|
||||||
|
|
@ -187,7 +187,7 @@ public:
|
||||||
AstNode* createTypedef(FileLine* fl, const string& name, AstNode* attrsp, AstNodeDType* basep,
|
AstNode* createTypedef(FileLine* fl, const string& name, AstNode* attrsp, AstNodeDType* basep,
|
||||||
AstNodeRange* rangep) {
|
AstNodeRange* rangep) {
|
||||||
AstTypedef* const nodep = new AstTypedef{fl, name, attrsp, VFlagChildDType{},
|
AstTypedef* const nodep = new AstTypedef{fl, name, attrsp, VFlagChildDType{},
|
||||||
GRAMMARP->createArray(basep, rangep, false)};
|
GRAMMARP->createArray(basep, rangep, false)};
|
||||||
SYMP->reinsert(nodep);
|
SYMP->reinsert(nodep);
|
||||||
PARSEP->tagNodep(nodep);
|
PARSEP->tagNodep(nodep);
|
||||||
return nodep;
|
return nodep;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue