mirror of
https://github.com/verilator/verilator.git
synced 2025-01-06 06:37:45 +00:00
Apply clang-format
This commit is contained in:
parent
e77e4e1fe6
commit
af5fc4f1ad
@ -403,12 +403,12 @@ void VerilatedVcd::dumpHeader() {
|
|||||||
printIndent(1);
|
printIndent(1);
|
||||||
// Find character after name end
|
// Find character after name end
|
||||||
const char* sp = np;
|
const char* sp = np;
|
||||||
while(*sp && *sp != ' ' && *sp != '\t' && *sp != '\f') sp++;
|
while (*sp && *sp != ' ' && *sp != '\t' && *sp != '\f') sp++;
|
||||||
|
|
||||||
if (*sp == '\f') {
|
if (*sp == '\f') {
|
||||||
printStr("$scope struct ");
|
printStr("$scope struct ");
|
||||||
} else {
|
} else {
|
||||||
printStr("$scope module ");
|
printStr("$scope module ");
|
||||||
}
|
}
|
||||||
|
|
||||||
for (; *np && *np != ' ' && *np != '\t'; np++) {
|
for (; *np && *np != ' ' && *np != '\t'; np++) {
|
||||||
@ -416,7 +416,7 @@ void VerilatedVcd::dumpHeader() {
|
|||||||
printStr("(");
|
printStr("(");
|
||||||
} else if (*np == ']') {
|
} else if (*np == ']') {
|
||||||
printStr(")");
|
printStr(")");
|
||||||
} else if (*np != '\f'){
|
} else if (*np != '\f') {
|
||||||
*m_writep++ = *np;
|
*m_writep++ = *np;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user