From af5fc4f1ad11f046d2dff25470f6520f751e6852 Mon Sep 17 00:00:00 2001 From: github action Date: Wed, 3 Feb 2021 19:41:25 +0000 Subject: [PATCH] Apply clang-format --- include/verilated_vcd_c.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/verilated_vcd_c.cpp b/include/verilated_vcd_c.cpp index 48493a4d6..2d757bb11 100644 --- a/include/verilated_vcd_c.cpp +++ b/include/verilated_vcd_c.cpp @@ -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; } }