Do not include redundant headers in Syms implementation files

These are all available through the PCH
This commit is contained in:
Geza Lore 2025-11-08 09:23:56 +00:00
parent 0f96bd0f4d
commit 71dcf30c1f
1 changed files with 0 additions and 6 deletions

View File

@ -603,12 +603,6 @@ void EmitCSyms::emitSymImpPreamble() {
// Includes // Includes
puts("#include \"" + EmitCUtil::pchClassName() + ".h\"\n"); puts("#include \"" + EmitCUtil::pchClassName() + ".h\"\n");
puts("#include \"" + topClassName() + ".h\"\n");
for (AstNodeModule *nodep = v3Global.rootp()->modulesp(), *nextp; nodep; nodep = nextp) {
nextp = VN_AS(nodep->nextp(), NodeModule);
if (VN_IS(nodep, Class)) continue; // Class included earlier
putns(nodep, "#include \"" + EmitCUtil::prefixNameProtect(nodep) + ".h\"\n");
}
puts("\n"); puts("\n");
// Declarations for DPI Export implementation functions // Declarations for DPI Export implementation functions
bool needsNewLine = false; bool needsNewLine = false;