Do not include redundant headers in Syms implementation files
These are all available through the PCH
This commit is contained in:
parent
0f96bd0f4d
commit
71dcf30c1f
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue