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