From e207d7a31e3ec12d848e42b5c2a589b607154b06 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Fri, 8 Nov 2024 20:51:43 -0800 Subject: [PATCH 1/8] Add `` header for files using std::string --- include/Surelog/Common/PlatformFileSystem.h | 1 + include/Surelog/Design/Design.h | 1 + include/Surelog/Design/DesignComponent.h | 1 + include/Surelog/Design/FileContent.h | 1 + include/Surelog/Design/ModuleDefinition.h | 1 + include/Surelog/Design/ModuleInstance.h | 1 + include/Surelog/DesignCompile/CompileClass.h | 1 + include/Surelog/DesignCompile/DesignElaboration.h | 1 + include/Surelog/Library/AntlrLibParserErrorListener.h | 1 + include/Surelog/SourceCompile/AntlrParserErrorListener.h | 1 + include/Surelog/SourceCompile/ParseTreeListener.template.hpp | 1 + .../Surelog/SourceCompile/ParseTreeTraceListener.template.hpp | 1 + include/Surelog/SourceCompile/PreprocessFile.h | 1 + include/Surelog/SourceCompile/PreprocessHarness.h | 1 + include/Surelog/Testbench/ClassDefinition.h | 1 + include/Surelog/Utils/ParseUtils.h | 1 + src/API/PythonAPI.cpp | 2 ++ src/API/SLAPI.cpp | 1 + src/Cache/Cache.cpp | 1 + src/Cache/PPCache.cpp | 2 ++ src/Cache/ParseCache.cpp | 2 ++ src/Cache/PythonAPICache.cpp | 2 ++ src/CommandLine/CommandLineParser.cpp | 1 + src/Common/FileSystem.cpp | 2 ++ src/Common/PlatformFileSystem.cpp | 1 + src/DesignCompile/Builtin.cpp | 1 + src/DesignCompile/CompileClass.cpp | 1 + src/DesignCompile/CompileDesign.cpp | 1 + src/DesignCompile/CompileExpression.cpp | 1 + src/DesignCompile/CompileExpression_test.cpp | 2 ++ src/DesignCompile/CompileModule.cpp | 1 + src/DesignCompile/CompilePackage.cpp | 1 + src/DesignCompile/CompileProgram.cpp | 1 + src/DesignCompile/CompileStmt.cpp | 1 + src/DesignCompile/CompileType.cpp | 1 + src/DesignCompile/DesignElaboration.cpp | 1 + src/DesignCompile/ElaborationStep.cpp | 1 + src/DesignCompile/EvalFunc.cpp | 1 + src/DesignCompile/NetlistElaboration.cpp | 1 + src/DesignCompile/ResolveSymbols.cpp | 2 ++ src/DesignCompile/TestbenchElaboration.cpp | 1 + src/DesignCompile/UhdmChecker.cpp | 1 + src/DesignCompile/UhdmWriter.cpp | 1 + src/ErrorReporting/ErrorContainer.cpp | 1 + src/ErrorReporting/ErrorDefinition.cpp | 2 ++ src/ErrorReporting/Report.cpp | 1 + src/Expression/ExprBuilder.cpp | 1 + src/Expression/Value.cpp | 1 + src/Library/AntlrLibParserErrorListener.cpp | 2 ++ src/Library/LibrarySet.cpp | 1 + src/Library/ParseLibraryDef.cpp | 2 ++ src/Library/SVLibShapeListener.cpp | 1 + src/Package/Precompiled.cpp | 2 ++ src/SourceCompile/AnalyzeFile.cpp | 1 + src/SourceCompile/AntlrParserErrorListener.cpp | 2 ++ src/SourceCompile/CheckCompile.cpp | 2 ++ src/SourceCompile/MacroInfo.cpp | 2 ++ src/SourceCompile/ParseTreeListener.template.cxx | 1 + src/SourceCompile/PreprocessHarness.cpp | 2 ++ src/SourceCompile/SV3_1aPpTreeShapeListener.cpp | 1 + src/SourceCompile/SV3_1aTreeShapeHelper.cpp | 2 ++ src/SourceCompile/SV3_1aTreeShapeListener.cpp | 1 + src/Utils/NumUtils.cpp | 1 + src/Utils/ParseUtils.cpp | 2 ++ src/Utils/StringUtils.cpp | 1 + src/Utils/StringUtils_test.cpp | 2 ++ src/hellouhdm.cpp | 1 + 67 files changed, 85 insertions(+) diff --git a/include/Surelog/Common/PlatformFileSystem.h b/include/Surelog/Common/PlatformFileSystem.h index 26f3ba6524..62de7ffd3f 100644 --- a/include/Surelog/Common/PlatformFileSystem.h +++ b/include/Surelog/Common/PlatformFileSystem.h @@ -25,6 +25,7 @@ #define SURELOG_PLATFORMFILESYSTEM_H #pragma once +#include #include #include diff --git a/include/Surelog/Design/Design.h b/include/Surelog/Design/Design.h index 1464a606ef..d4ff36df3c 100644 --- a/include/Surelog/Design/Design.h +++ b/include/Surelog/Design/Design.h @@ -25,6 +25,7 @@ #define SURELOG_DESIGN_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/DesignComponent.h b/include/Surelog/Design/DesignComponent.h index 2caa012557..2f3d332e09 100644 --- a/include/Surelog/Design/DesignComponent.h +++ b/include/Surelog/Design/DesignComponent.h @@ -25,6 +25,7 @@ #define SURELOG_DESIGNCOMPONENT_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/FileContent.h b/include/Surelog/Design/FileContent.h index 93851fe9e1..f1d6e34e76 100644 --- a/include/Surelog/Design/FileContent.h +++ b/include/Surelog/Design/FileContent.h @@ -25,6 +25,7 @@ #define SURELOG_FILECONTENT_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/ModuleDefinition.h b/include/Surelog/Design/ModuleDefinition.h index 645e004d8d..81810cae5f 100644 --- a/include/Surelog/Design/ModuleDefinition.h +++ b/include/Surelog/Design/ModuleDefinition.h @@ -25,6 +25,7 @@ #define SURELOG_MODULEDEFINITION_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/ModuleInstance.h b/include/Surelog/Design/ModuleInstance.h index b41be6330f..4ad301ab78 100644 --- a/include/Surelog/Design/ModuleInstance.h +++ b/include/Surelog/Design/ModuleInstance.h @@ -25,6 +25,7 @@ #define SURELOG_MODULEINSTANCE_H #pragma once +#include #include #include #include diff --git a/include/Surelog/DesignCompile/CompileClass.h b/include/Surelog/DesignCompile/CompileClass.h index 7a4c4facb6..c9e2db19ad 100644 --- a/include/Surelog/DesignCompile/CompileClass.h +++ b/include/Surelog/DesignCompile/CompileClass.h @@ -25,6 +25,7 @@ #define SURELOG_COMPILECLASS_H #pragma once +#include #include #include diff --git a/include/Surelog/DesignCompile/DesignElaboration.h b/include/Surelog/DesignCompile/DesignElaboration.h index c4fc8ddf9c..570cb9f8a2 100644 --- a/include/Surelog/DesignCompile/DesignElaboration.h +++ b/include/Surelog/DesignCompile/DesignElaboration.h @@ -25,6 +25,7 @@ #define SURELOG_DESIGNELABORATION_H #pragma once +#include #include #include diff --git a/include/Surelog/Library/AntlrLibParserErrorListener.h b/include/Surelog/Library/AntlrLibParserErrorListener.h index d62a007552..9ebfd371f1 100644 --- a/include/Surelog/Library/AntlrLibParserErrorListener.h +++ b/include/Surelog/Library/AntlrLibParserErrorListener.h @@ -25,6 +25,7 @@ #define SURELOG_ANTLRLIBPARSERERRORLISTENER_H #pragma once +#include #include #include diff --git a/include/Surelog/SourceCompile/AntlrParserErrorListener.h b/include/Surelog/SourceCompile/AntlrParserErrorListener.h index 5ba1ad3e14..d6bbf3a761 100644 --- a/include/Surelog/SourceCompile/AntlrParserErrorListener.h +++ b/include/Surelog/SourceCompile/AntlrParserErrorListener.h @@ -25,6 +25,7 @@ #define SURELOG_ANTLRPARSERERRORLISTENER_H #pragma once +#include #include #include diff --git a/include/Surelog/SourceCompile/ParseTreeListener.template.hpp b/include/Surelog/SourceCompile/ParseTreeListener.template.hpp index b58d3195ec..b084f1cdb3 100644 --- a/include/Surelog/SourceCompile/ParseTreeListener.template.hpp +++ b/include/Surelog/SourceCompile/ParseTreeListener.template.hpp @@ -27,6 +27,7 @@ #define SURELOG_PARSETREELISTENER_H #pragma once +#include #include #include #include diff --git a/include/Surelog/SourceCompile/ParseTreeTraceListener.template.hpp b/include/Surelog/SourceCompile/ParseTreeTraceListener.template.hpp index 8f2768a6ed..e171cc160e 100644 --- a/include/Surelog/SourceCompile/ParseTreeTraceListener.template.hpp +++ b/include/Surelog/SourceCompile/ParseTreeTraceListener.template.hpp @@ -27,6 +27,7 @@ #define SURELOG_PARSETREETRACELISTENER_H #pragma once +#include #include #include diff --git a/include/Surelog/SourceCompile/PreprocessFile.h b/include/Surelog/SourceCompile/PreprocessFile.h index 0a812e11b2..c4712c85b2 100644 --- a/include/Surelog/SourceCompile/PreprocessFile.h +++ b/include/Surelog/SourceCompile/PreprocessFile.h @@ -25,6 +25,7 @@ #define SURELOG_PREPROCESSFILE_H #pragma once +#include #include #include #include diff --git a/include/Surelog/SourceCompile/PreprocessHarness.h b/include/Surelog/SourceCompile/PreprocessHarness.h index f4000ba282..73a70c2b9f 100644 --- a/include/Surelog/SourceCompile/PreprocessHarness.h +++ b/include/Surelog/SourceCompile/PreprocessHarness.h @@ -25,6 +25,7 @@ #define SURELOG_PREPROCESSHARNESS_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Testbench/ClassDefinition.h b/include/Surelog/Testbench/ClassDefinition.h index 2f1f37a278..7208f0e91f 100644 --- a/include/Surelog/Testbench/ClassDefinition.h +++ b/include/Surelog/Testbench/ClassDefinition.h @@ -25,6 +25,7 @@ #define SURELOG_CLASSDEFINITION_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Utils/ParseUtils.h b/include/Surelog/Utils/ParseUtils.h index 6066d09ed8..eb0b90a15d 100644 --- a/include/Surelog/Utils/ParseUtils.h +++ b/include/Surelog/Utils/ParseUtils.h @@ -25,6 +25,7 @@ #define SURELOG_PARSEUTILS_H #pragma once +#include #include namespace SURELOG { diff --git a/src/API/PythonAPI.cpp b/src/API/PythonAPI.cpp index 3454b1284b..c205174c43 100644 --- a/src/API/PythonAPI.cpp +++ b/src/API/PythonAPI.cpp @@ -25,6 +25,8 @@ #include +#include + #include "Surelog/Common/FileSystem.h" #include "Surelog/Design/Design.h" #include "Surelog/ErrorReporting/ErrorContainer.h" diff --git a/src/API/SLAPI.cpp b/src/API/SLAPI.cpp index 7b867b7429..b7a135c836 100644 --- a/src/API/SLAPI.cpp +++ b/src/API/SLAPI.cpp @@ -31,6 +31,7 @@ #include #include +#include #include "Surelog/Common/FileSystem.h" #include "Surelog/Design/Design.h" diff --git a/src/Cache/Cache.cpp b/src/Cache/Cache.cpp index d6def85836..d051f6ce0c 100644 --- a/src/Cache/Cache.cpp +++ b/src/Cache/Cache.cpp @@ -28,6 +28,7 @@ #include #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/Cache/PPCache.cpp b/src/Cache/PPCache.cpp index 4c22b3f9a8..3722c5ebd0 100644 --- a/src/Cache/PPCache.cpp +++ b/src/Cache/PPCache.cpp @@ -28,6 +28,8 @@ #include #include +#include + #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" #include "Surelog/Design/Design.h" diff --git a/src/Cache/ParseCache.cpp b/src/Cache/ParseCache.cpp index 8885ef9f82..fff6c5be6c 100644 --- a/src/Cache/ParseCache.cpp +++ b/src/Cache/ParseCache.cpp @@ -28,6 +28,8 @@ #include #include +#include + #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" #include "Surelog/Design/Design.h" diff --git a/src/Cache/PythonAPICache.cpp b/src/Cache/PythonAPICache.cpp index 88cadfa059..bb4cc4748a 100644 --- a/src/Cache/PythonAPICache.cpp +++ b/src/Cache/PythonAPICache.cpp @@ -28,6 +28,8 @@ #include #include +#include + #include "Surelog/API/PythonAPI.h" #include "Surelog/Cache/Cache.h" #include "Surelog/CommandLine/CommandLineParser.h" diff --git a/src/CommandLine/CommandLineParser.cpp b/src/CommandLine/CommandLineParser.cpp index 461c533c13..b76d1559b1 100644 --- a/src/CommandLine/CommandLineParser.cpp +++ b/src/CommandLine/CommandLineParser.cpp @@ -24,6 +24,7 @@ #include "Surelog/CommandLine/CommandLineParser.h" #include +#include #include "Surelog/API/PythonAPI.h" #include "Surelog/Common/PlatformFileSystem.h" diff --git a/src/Common/FileSystem.cpp b/src/Common/FileSystem.cpp index ff8080fd31..a618e7661d 100644 --- a/src/Common/FileSystem.cpp +++ b/src/Common/FileSystem.cpp @@ -28,6 +28,8 @@ #if defined(_WIN32) #define NOMINMAX #include + +#include #elif defined(__APPLE__) #include #include diff --git a/src/Common/PlatformFileSystem.cpp b/src/Common/PlatformFileSystem.cpp index 1cbc941c7d..49a36c0ef6 100644 --- a/src/Common/PlatformFileSystem.cpp +++ b/src/Common/PlatformFileSystem.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include "Surelog/SourceCompile/SymbolTable.h" #include "Surelog/Utils/StringUtils.h" diff --git a/src/DesignCompile/Builtin.cpp b/src/DesignCompile/Builtin.cpp index d389001dd2..27825803a4 100644 --- a/src/DesignCompile/Builtin.cpp +++ b/src/DesignCompile/Builtin.cpp @@ -44,6 +44,7 @@ #include #include +#include #include #include diff --git a/src/DesignCompile/CompileClass.cpp b/src/DesignCompile/CompileClass.cpp index 9426b25786..224746669b 100644 --- a/src/DesignCompile/CompileClass.cpp +++ b/src/DesignCompile/CompileClass.cpp @@ -41,6 +41,7 @@ #include #include +#include namespace SURELOG { int32_t FunctorCompileClass::operator()() const { diff --git a/src/DesignCompile/CompileDesign.cpp b/src/DesignCompile/CompileDesign.cpp index 993edf88c6..f5e9590520 100644 --- a/src/DesignCompile/CompileDesign.cpp +++ b/src/DesignCompile/CompileDesign.cpp @@ -55,6 +55,7 @@ #include #include +#include #include #ifdef USETBB diff --git a/src/DesignCompile/CompileExpression.cpp b/src/DesignCompile/CompileExpression.cpp index d222b989c5..fd24c61270 100644 --- a/src/DesignCompile/CompileExpression.cpp +++ b/src/DesignCompile/CompileExpression.cpp @@ -24,6 +24,7 @@ #include #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/DesignCompile/CompileExpression_test.cpp b/src/DesignCompile/CompileExpression_test.cpp index d0c7314933..e30f901b7a 100644 --- a/src/DesignCompile/CompileExpression_test.cpp +++ b/src/DesignCompile/CompileExpression_test.cpp @@ -17,6 +17,8 @@ #include #include +#include + #include "Surelog/Design/FileContent.h" #include "Surelog/DesignCompile/CompileDesign.h" #include "Surelog/DesignCompile/CompileHelper.h" diff --git a/src/DesignCompile/CompileModule.cpp b/src/DesignCompile/CompileModule.cpp index a937bb24e9..3b52cc64a0 100644 --- a/src/DesignCompile/CompileModule.cpp +++ b/src/DesignCompile/CompileModule.cpp @@ -49,6 +49,7 @@ #include #include +#include namespace SURELOG { diff --git a/src/DesignCompile/CompilePackage.cpp b/src/DesignCompile/CompilePackage.cpp index d038b8a9ac..dd86fe8f08 100644 --- a/src/DesignCompile/CompilePackage.cpp +++ b/src/DesignCompile/CompilePackage.cpp @@ -38,6 +38,7 @@ #include #include +#include namespace SURELOG { diff --git a/src/DesignCompile/CompileProgram.cpp b/src/DesignCompile/CompileProgram.cpp index add547155a..fa5a53bc34 100644 --- a/src/DesignCompile/CompileProgram.cpp +++ b/src/DesignCompile/CompileProgram.cpp @@ -27,6 +27,7 @@ #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Design/FileContent.h" diff --git a/src/DesignCompile/CompileStmt.cpp b/src/DesignCompile/CompileStmt.cpp index 37d1840e6c..fcf7275931 100644 --- a/src/DesignCompile/CompileStmt.cpp +++ b/src/DesignCompile/CompileStmt.cpp @@ -54,6 +54,7 @@ #include #include +#include namespace SURELOG { diff --git a/src/DesignCompile/CompileType.cpp b/src/DesignCompile/CompileType.cpp index 5ba59a4137..0e58d1c2a3 100644 --- a/src/DesignCompile/CompileType.cpp +++ b/src/DesignCompile/CompileType.cpp @@ -55,6 +55,7 @@ #include #include +#include namespace SURELOG { diff --git a/src/DesignCompile/DesignElaboration.cpp b/src/DesignCompile/DesignElaboration.cpp index 92491da4aa..8f5e065405 100644 --- a/src/DesignCompile/DesignElaboration.cpp +++ b/src/DesignCompile/DesignElaboration.cpp @@ -52,6 +52,7 @@ #include #include +#include #include namespace SURELOG { diff --git a/src/DesignCompile/ElaborationStep.cpp b/src/DesignCompile/ElaborationStep.cpp index b5e6700297..5f1d061b7b 100644 --- a/src/DesignCompile/ElaborationStep.cpp +++ b/src/DesignCompile/ElaborationStep.cpp @@ -25,6 +25,7 @@ #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/DesignCompile/EvalFunc.cpp b/src/DesignCompile/EvalFunc.cpp index 5ae2eb18e1..98d70fd506 100644 --- a/src/DesignCompile/EvalFunc.cpp +++ b/src/DesignCompile/EvalFunc.cpp @@ -37,6 +37,7 @@ #include #include +#include namespace SURELOG { diff --git a/src/DesignCompile/NetlistElaboration.cpp b/src/DesignCompile/NetlistElaboration.cpp index e9f1bc389c..844722ab8b 100644 --- a/src/DesignCompile/NetlistElaboration.cpp +++ b/src/DesignCompile/NetlistElaboration.cpp @@ -24,6 +24,7 @@ #include "Surelog/DesignCompile/NetlistElaboration.h" #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/DesignCompile/ResolveSymbols.cpp b/src/DesignCompile/ResolveSymbols.cpp index 257a242e75..34c58c2df6 100644 --- a/src/DesignCompile/ResolveSymbols.cpp +++ b/src/DesignCompile/ResolveSymbols.cpp @@ -37,6 +37,8 @@ // UHDM #include +#include + namespace SURELOG { int32_t FunctorCreateLookup::operator()() const { diff --git a/src/DesignCompile/TestbenchElaboration.cpp b/src/DesignCompile/TestbenchElaboration.cpp index da3dcb094b..ff0e651e33 100644 --- a/src/DesignCompile/TestbenchElaboration.cpp +++ b/src/DesignCompile/TestbenchElaboration.cpp @@ -44,6 +44,7 @@ #include #include +#include namespace SURELOG { diff --git a/src/DesignCompile/UhdmChecker.cpp b/src/DesignCompile/UhdmChecker.cpp index ff60729192..2c29412d18 100644 --- a/src/DesignCompile/UhdmChecker.cpp +++ b/src/DesignCompile/UhdmChecker.cpp @@ -43,6 +43,7 @@ #include #include #include +#include namespace SURELOG { using UHDM::BaseClass; diff --git a/src/DesignCompile/UhdmWriter.cpp b/src/DesignCompile/UhdmWriter.cpp index 9157bc2316..0731305d23 100644 --- a/src/DesignCompile/UhdmWriter.cpp +++ b/src/DesignCompile/UhdmWriter.cpp @@ -25,6 +25,7 @@ #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/ErrorReporting/ErrorContainer.cpp b/src/ErrorReporting/ErrorContainer.cpp index 3ef960482f..f8ef2388a8 100644 --- a/src/ErrorReporting/ErrorContainer.cpp +++ b/src/ErrorReporting/ErrorContainer.cpp @@ -25,6 +25,7 @@ #include #include +#include #include "Surelog/API/PythonAPI.h" #include "Surelog/CommandLine/CommandLineParser.h" diff --git a/src/ErrorReporting/ErrorDefinition.cpp b/src/ErrorReporting/ErrorDefinition.cpp index a11e48c616..b455b61c22 100644 --- a/src/ErrorReporting/ErrorDefinition.cpp +++ b/src/ErrorReporting/ErrorDefinition.cpp @@ -22,6 +22,8 @@ */ #include "Surelog/ErrorReporting/ErrorDefinition.h" +#include + #include "Surelog/Utils/NumUtils.h" #include "Surelog/Utils/StringUtils.h" diff --git a/src/ErrorReporting/Report.cpp b/src/ErrorReporting/Report.cpp index 60f79633fe..d3367f4589 100644 --- a/src/ErrorReporting/Report.cpp +++ b/src/ErrorReporting/Report.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include #include "Surelog/CommandLine/CommandLineParser.h" diff --git a/src/Expression/ExprBuilder.cpp b/src/Expression/ExprBuilder.cpp index 8ccc9d45ed..317776931f 100644 --- a/src/Expression/ExprBuilder.cpp +++ b/src/Expression/ExprBuilder.cpp @@ -23,6 +23,7 @@ #include "Surelog/Expression/ExprBuilder.h" #include +#include #include "Surelog/Design/Design.h" #include "Surelog/Design/FileContent.h" diff --git a/src/Expression/Value.cpp b/src/Expression/Value.cpp index ade10a6c58..c844f3eb88 100644 --- a/src/Expression/Value.cpp +++ b/src/Expression/Value.cpp @@ -24,6 +24,7 @@ #include "Surelog/Expression/Value.h" #include +#include #include "Surelog/Utils/NumUtils.h" #include "Surelog/Utils/StringUtils.h" diff --git a/src/Library/AntlrLibParserErrorListener.cpp b/src/Library/AntlrLibParserErrorListener.cpp index 41fe5706ed..2e4c8a655d 100644 --- a/src/Library/AntlrLibParserErrorListener.cpp +++ b/src/Library/AntlrLibParserErrorListener.cpp @@ -23,6 +23,8 @@ #include "Surelog/Library/AntlrLibParserErrorListener.h" +#include + #include "Surelog/ErrorReporting/ErrorContainer.h" #include "Surelog/Library/ParseLibraryDef.h" #include "Surelog/SourceCompile/SymbolTable.h" diff --git a/src/Library/LibrarySet.cpp b/src/Library/LibrarySet.cpp index cd36c962b4..672f7593f5 100644 --- a/src/Library/LibrarySet.cpp +++ b/src/Library/LibrarySet.cpp @@ -24,6 +24,7 @@ #include "Surelog/Library/LibrarySet.h" #include +#include #include "Surelog/ErrorReporting/ErrorContainer.h" #include "Surelog/Library/Library.h" diff --git a/src/Library/ParseLibraryDef.cpp b/src/Library/ParseLibraryDef.cpp index 77f1213f88..f0b16e5fe4 100644 --- a/src/Library/ParseLibraryDef.cpp +++ b/src/Library/ParseLibraryDef.cpp @@ -26,6 +26,8 @@ #include #include +#include + #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" #include "Surelog/Config/ConfigSet.h" diff --git a/src/Library/SVLibShapeListener.cpp b/src/Library/SVLibShapeListener.cpp index 21cc17286e..35d690333a 100644 --- a/src/Library/SVLibShapeListener.cpp +++ b/src/Library/SVLibShapeListener.cpp @@ -24,6 +24,7 @@ #include "Surelog/Library/SVLibShapeListener.h" #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/Package/Precompiled.cpp b/src/Package/Precompiled.cpp index 32e4c515ef..090236fd34 100644 --- a/src/Package/Precompiled.cpp +++ b/src/Package/Precompiled.cpp @@ -23,6 +23,8 @@ #include "Surelog/Package/Precompiled.h" +#include + #include "Surelog/Common/FileSystem.h" #include "Surelog/Common/PathId.h" #include "Surelog/SourceCompile/SymbolTable.h" diff --git a/src/SourceCompile/AnalyzeFile.cpp b/src/SourceCompile/AnalyzeFile.cpp index 68fb12e286..337f61b0b3 100644 --- a/src/SourceCompile/AnalyzeFile.cpp +++ b/src/SourceCompile/AnalyzeFile.cpp @@ -25,6 +25,7 @@ #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/SourceCompile/AntlrParserErrorListener.cpp b/src/SourceCompile/AntlrParserErrorListener.cpp index 2ae634b054..0245fa258e 100644 --- a/src/SourceCompile/AntlrParserErrorListener.cpp +++ b/src/SourceCompile/AntlrParserErrorListener.cpp @@ -23,6 +23,8 @@ #include "Surelog/SourceCompile/AntlrParserErrorListener.h" +#include + #include "Surelog/Common/FileSystem.h" #include "Surelog/SourceCompile/CompileSourceFile.h" #include "Surelog/SourceCompile/ParseFile.h" diff --git a/src/SourceCompile/CheckCompile.cpp b/src/SourceCompile/CheckCompile.cpp index 0e33feaff5..871dda4b35 100644 --- a/src/SourceCompile/CheckCompile.cpp +++ b/src/SourceCompile/CheckCompile.cpp @@ -23,6 +23,8 @@ #include "Surelog/SourceCompile/CheckCompile.h" +#include + #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" #include "Surelog/Design/Design.h" diff --git a/src/SourceCompile/MacroInfo.cpp b/src/SourceCompile/MacroInfo.cpp index 6144d84e6d..dd5d783aef 100644 --- a/src/SourceCompile/MacroInfo.cpp +++ b/src/SourceCompile/MacroInfo.cpp @@ -23,6 +23,8 @@ #include "Surelog/SourceCompile/MacroInfo.h" +#include + namespace SURELOG { MacroInfo::MacroInfo(std::string_view name, int32_t type, PathId fileId, uint32_t startLine, uint16_t startColumn, uint32_t endLine, diff --git a/src/SourceCompile/ParseTreeListener.template.cxx b/src/SourceCompile/ParseTreeListener.template.cxx index c9cbcc7c95..914316a105 100644 --- a/src/SourceCompile/ParseTreeListener.template.cxx +++ b/src/SourceCompile/ParseTreeListener.template.cxx @@ -23,6 +23,7 @@ * */ +#include #include #include #include diff --git a/src/SourceCompile/PreprocessHarness.cpp b/src/SourceCompile/PreprocessHarness.cpp index 378ca7837e..a627199228 100644 --- a/src/SourceCompile/PreprocessHarness.cpp +++ b/src/SourceCompile/PreprocessHarness.cpp @@ -23,6 +23,8 @@ #include "Surelog/SourceCompile/PreprocessHarness.h" +#include + #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Library/Library.h" #include "Surelog/SourceCompile/CompilationUnit.h" diff --git a/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp b/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp index c63af382a9..0ef3531305 100644 --- a/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp +++ b/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp @@ -17,6 +17,7 @@ #include "Surelog/SourceCompile/SV3_1aPpTreeShapeListener.h" #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/SourceCompile/SV3_1aTreeShapeHelper.cpp b/src/SourceCompile/SV3_1aTreeShapeHelper.cpp index 570f3b00fa..590d0d186e 100644 --- a/src/SourceCompile/SV3_1aTreeShapeHelper.cpp +++ b/src/SourceCompile/SV3_1aTreeShapeHelper.cpp @@ -23,6 +23,8 @@ #include "Surelog/SourceCompile/SV3_1aTreeShapeHelper.h" +#include + #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Design/FileContent.h" #include "Surelog/ErrorReporting/ErrorContainer.h" diff --git a/src/SourceCompile/SV3_1aTreeShapeListener.cpp b/src/SourceCompile/SV3_1aTreeShapeListener.cpp index 76e5735769..7dcbad2b2a 100644 --- a/src/SourceCompile/SV3_1aTreeShapeListener.cpp +++ b/src/SourceCompile/SV3_1aTreeShapeListener.cpp @@ -24,6 +24,7 @@ #include "Surelog/SourceCompile/SV3_1aTreeShapeListener.h" #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/Utils/NumUtils.cpp b/src/Utils/NumUtils.cpp index 219e8c0f81..bf337bf45c 100644 --- a/src/Utils/NumUtils.cpp +++ b/src/Utils/NumUtils.cpp @@ -25,6 +25,7 @@ #include #include +#include namespace SURELOG { diff --git a/src/Utils/ParseUtils.cpp b/src/Utils/ParseUtils.cpp index c15ce4c67f..283c1cda6b 100644 --- a/src/Utils/ParseUtils.cpp +++ b/src/Utils/ParseUtils.cpp @@ -25,6 +25,8 @@ #include +#include + namespace SURELOG { ParseUtils::LineColumn ParseUtils::getLineColumn(antlr4::Token* token) { diff --git a/src/Utils/StringUtils.cpp b/src/Utils/StringUtils.cpp index b467841d89..6cb100dd93 100644 --- a/src/Utils/StringUtils.cpp +++ b/src/Utils/StringUtils.cpp @@ -30,6 +30,7 @@ #include #include #include +#include namespace SURELOG { diff --git a/src/Utils/StringUtils_test.cpp b/src/Utils/StringUtils_test.cpp index 7877032dd5..478e2d0663 100644 --- a/src/Utils/StringUtils_test.cpp +++ b/src/Utils/StringUtils_test.cpp @@ -20,6 +20,8 @@ #include #include +#include + namespace SURELOG { using ::testing::ElementsAre; diff --git a/src/hellouhdm.cpp b/src/hellouhdm.cpp index b5f45b579d..0c1b7e1f08 100644 --- a/src/hellouhdm.cpp +++ b/src/hellouhdm.cpp @@ -27,6 +27,7 @@ #include #include +#include #include "Surelog/API/Surelog.h" #include "Surelog/CommandLine/CommandLineParser.h" From 1258d60ade95cda7a2f5390ddbe200fd7d616d7e Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Fri, 8 Nov 2024 20:53:13 -0800 Subject: [PATCH 2/8] Add `` header for files using std::string_view --- include/Surelog/CommandLine/CommandLineParser.h | 1 + include/Surelog/Common/PlatformFileSystem.h | 1 + include/Surelog/Design/DefParam.h | 1 + include/Surelog/Design/Design.h | 1 + include/Surelog/Design/DesignComponent.h | 1 + include/Surelog/Design/Enum.h | 1 + include/Surelog/Design/FileContent.h | 1 + include/Surelog/Design/Function.h | 1 + include/Surelog/Design/Parameter.h | 1 + include/Surelog/Design/Scope.h | 1 + include/Surelog/Design/Signal.h | 1 + include/Surelog/Design/Statement.h | 1 + include/Surelog/Design/Task.h | 1 + include/Surelog/Design/TfPortItem.h | 1 + include/Surelog/Design/VObject.h | 1 + include/Surelog/DesignCompile/CompileHelper.h | 1 + include/Surelog/DesignCompile/DesignElaboration.h | 1 + include/Surelog/DesignCompile/ElaborationStep.h | 1 + include/Surelog/DesignCompile/ElaboratorHarness.h | 1 + include/Surelog/DesignCompile/NetlistElaboration.h | 1 + include/Surelog/DesignCompile/ResolveSymbols.h | 1 + include/Surelog/DesignCompile/UhdmChecker.h | 1 + include/Surelog/DesignCompile/UhdmWriter.h | 1 + include/Surelog/ErrorReporting/ErrorContainer.h | 1 + include/Surelog/ErrorReporting/LogListener.h | 1 + include/Surelog/Expression/ExprBuilder.h | 1 + include/Surelog/Library/SVLibShapeListener.h | 1 + include/Surelog/SourceCompile/CommonListenerHelper.h | 1 + include/Surelog/SourceCompile/CompilationUnit.h | 1 + include/Surelog/SourceCompile/CompileSourceFile.h | 1 + include/Surelog/SourceCompile/Compiler.h | 1 + include/Surelog/SourceCompile/ParseFile.h | 1 + .../Surelog/SourceCompile/ParseTreeTraceListener.template.hpp | 1 + include/Surelog/SourceCompile/ParserHarness.h | 1 + include/Surelog/SourceCompile/PreprocessFile.h | 1 + include/Surelog/SourceCompile/PreprocessHarness.h | 1 + include/Surelog/SourceCompile/SV3_1aPpTreeListenerHelper.h | 1 + include/Surelog/Testbench/ClassObject.h | 1 + include/Surelog/Testbench/FunctionMethod.h | 1 + include/Surelog/Testbench/Program.h | 1 + include/Surelog/Testbench/Property.h | 1 + include/Surelog/Testbench/TypeDef.h | 1 + src/Cache/Cache.cpp | 1 + src/Cache/PPCache.cpp | 1 + src/Cache/ParseCache.cpp | 1 + src/Cache/PythonAPICache.cpp | 1 + src/CommandLine/CommandLineParser.cpp | 1 + src/Common/FileSystem.cpp | 1 + src/Common/PlatformFileSystem.cpp | 1 + src/Common/PlatformFileSystem_test.cpp | 2 ++ src/Config/Config.cpp | 2 ++ src/Config/ConfigSet.cpp | 2 ++ src/DesignCompile/CompileAssertion.cpp | 1 + src/DesignCompile/CompileClass.cpp | 1 + src/DesignCompile/CompileDesign.cpp | 1 + src/DesignCompile/CompileExpression.cpp | 1 + src/DesignCompile/CompileHelper.cpp | 1 + src/DesignCompile/CompileHelper_test.cpp | 1 + src/DesignCompile/CompileModule.cpp | 1 + src/DesignCompile/CompilePackage.cpp | 1 + src/DesignCompile/CompileProgram.cpp | 1 + src/DesignCompile/CompileStmt.cpp | 1 + src/DesignCompile/CompileType.cpp | 1 + src/DesignCompile/ElaborationStep.cpp | 1 + src/DesignCompile/ElaboratorHarness.cpp | 2 ++ src/DesignCompile/EvalFunc.cpp | 1 + src/DesignCompile/ResolveSymbols.cpp | 1 + src/DesignCompile/TestbenchElaboration.cpp | 1 + src/DesignCompile/UhdmChecker.cpp | 1 + src/DesignCompile/UhdmWriter.cpp | 1 + src/ErrorReporting/ErrorContainer.cpp | 1 + src/ErrorReporting/ErrorDefinition.cpp | 1 + src/ErrorReporting/LogListener.cpp | 2 ++ src/ErrorReporting/Report.cpp | 1 + src/ErrorReporting/Waiver.cpp | 1 + src/Expression/ExprBuilder.cpp | 1 + src/Library/Library.cpp | 2 ++ src/Library/LibrarySet.cpp | 1 + src/Library/SVLibShapeListener.cpp | 1 + src/Package/Package.cpp | 2 ++ src/SourceCompile/AnalyzeFile.cpp | 1 + src/SourceCompile/CommonListenerHelper.cpp | 2 ++ src/SourceCompile/CompilationUnit.cpp | 2 ++ src/SourceCompile/CompileSourceFile.cpp | 2 ++ src/SourceCompile/Compiler.cpp | 1 + src/SourceCompile/MacroInfo.cpp | 1 + src/SourceCompile/ParseFile.cpp | 2 ++ src/SourceCompile/ParserHarness.cpp | 2 ++ src/SourceCompile/PreprocessHarness.cpp | 1 + src/SourceCompile/SV3_1aPpTreeListenerHelper.cpp | 2 ++ src/SourceCompile/SV3_1aPpTreeShapeListener.cpp | 1 + src/SourceCompile/SV3_1aTreeShapeHelper.cpp | 1 + src/SourceCompile/SV3_1aTreeShapeListener.cpp | 1 + src/Testbench/ClassObject.cpp | 2 ++ src/Testbench/TypeDef.cpp | 2 ++ src/Utils/NumUtils.cpp | 1 + src/Utils/StringUtils.cpp | 1 + src/Utils/StringUtils_test.cpp | 1 + src/hellodesign.cpp | 1 + src/main.cpp | 2 ++ src/roundtrip.cpp | 1 + 101 files changed, 117 insertions(+) diff --git a/include/Surelog/CommandLine/CommandLineParser.h b/include/Surelog/CommandLine/CommandLineParser.h index 52eb63d3e9..089ccdb7fc 100644 --- a/include/Surelog/CommandLine/CommandLineParser.h +++ b/include/Surelog/CommandLine/CommandLineParser.h @@ -25,6 +25,7 @@ #define SURELOG_COMMANDLINEPARSER_H #pragma once +#include #include #include diff --git a/include/Surelog/Common/PlatformFileSystem.h b/include/Surelog/Common/PlatformFileSystem.h index 62de7ffd3f..13b621d531 100644 --- a/include/Surelog/Common/PlatformFileSystem.h +++ b/include/Surelog/Common/PlatformFileSystem.h @@ -25,6 +25,7 @@ #define SURELOG_PLATFORMFILESYSTEM_H #pragma once +#include #include #include diff --git a/include/Surelog/Design/DefParam.h b/include/Surelog/Design/DefParam.h index 7e3dde5113..917bbe299a 100644 --- a/include/Surelog/Design/DefParam.h +++ b/include/Surelog/Design/DefParam.h @@ -25,6 +25,7 @@ #define SURELOG_DEFPARAM_H #pragma once +#include #include #include diff --git a/include/Surelog/Design/Design.h b/include/Surelog/Design/Design.h index d4ff36df3c..49761339a1 100644 --- a/include/Surelog/Design/Design.h +++ b/include/Surelog/Design/Design.h @@ -25,6 +25,7 @@ #define SURELOG_DESIGN_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/DesignComponent.h b/include/Surelog/Design/DesignComponent.h index 2f3d332e09..46e6cebcac 100644 --- a/include/Surelog/Design/DesignComponent.h +++ b/include/Surelog/Design/DesignComponent.h @@ -25,6 +25,7 @@ #define SURELOG_DESIGNCOMPONENT_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/Enum.h b/include/Surelog/Design/Enum.h index 969d25107d..b17f0b74fc 100644 --- a/include/Surelog/Design/Enum.h +++ b/include/Surelog/Design/Enum.h @@ -25,6 +25,7 @@ #define SURELOG_ENUM_H #pragma once +#include #include #include diff --git a/include/Surelog/Design/FileContent.h b/include/Surelog/Design/FileContent.h index f1d6e34e76..1cbf9313ce 100644 --- a/include/Surelog/Design/FileContent.h +++ b/include/Surelog/Design/FileContent.h @@ -25,6 +25,7 @@ #define SURELOG_FILECONTENT_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/Function.h b/include/Surelog/Design/Function.h index aec1c85510..b416b7e060 100644 --- a/include/Surelog/Design/Function.h +++ b/include/Surelog/Design/Function.h @@ -25,6 +25,7 @@ #define SURELOG_FUNCTION_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/Parameter.h b/include/Surelog/Design/Parameter.h index 66045e1e17..478ae797ac 100644 --- a/include/Surelog/Design/Parameter.h +++ b/include/Surelog/Design/Parameter.h @@ -25,6 +25,7 @@ #define SURELOG_PARAMETER_H #pragma once +#include #include #include diff --git a/include/Surelog/Design/Scope.h b/include/Surelog/Design/Scope.h index af82c14ee1..1b5d3c714c 100644 --- a/include/Surelog/Design/Scope.h +++ b/include/Surelog/Design/Scope.h @@ -25,6 +25,7 @@ #define SURELOG_SCOPE_H #pragma once +#include #include #include diff --git a/include/Surelog/Design/Signal.h b/include/Surelog/Design/Signal.h index 5d454569fd..8efcbcb2b7 100644 --- a/include/Surelog/Design/Signal.h +++ b/include/Surelog/Design/Signal.h @@ -25,6 +25,7 @@ #define SURELOG_SIGNAL_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/Statement.h b/include/Surelog/Design/Statement.h index d8d6af6dbe..db8a215821 100644 --- a/include/Surelog/Design/Statement.h +++ b/include/Surelog/Design/Statement.h @@ -25,6 +25,7 @@ #define SURELOG_STATEMENT_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/Task.h b/include/Surelog/Design/Task.h index 13f5db9683..26f5c5aa52 100644 --- a/include/Surelog/Design/Task.h +++ b/include/Surelog/Design/Task.h @@ -25,6 +25,7 @@ #define SURELOG_TASK_H #pragma once +#include #include #include diff --git a/include/Surelog/Design/TfPortItem.h b/include/Surelog/Design/TfPortItem.h index 2d8cf5fdab..b492cca587 100644 --- a/include/Surelog/Design/TfPortItem.h +++ b/include/Surelog/Design/TfPortItem.h @@ -25,6 +25,7 @@ #define SURELOG_TFPORTITEM_H #pragma once +#include #include #include diff --git a/include/Surelog/Design/VObject.h b/include/Surelog/Design/VObject.h index ceb4a51c67..3813522d13 100644 --- a/include/Surelog/Design/VObject.h +++ b/include/Surelog/Design/VObject.h @@ -25,6 +25,7 @@ #define SURELOG_VOBJECT_H #pragma once +#include #include #include #include diff --git a/include/Surelog/DesignCompile/CompileHelper.h b/include/Surelog/DesignCompile/CompileHelper.h index f3d95dfb53..d96fc0efc3 100644 --- a/include/Surelog/DesignCompile/CompileHelper.h +++ b/include/Surelog/DesignCompile/CompileHelper.h @@ -25,6 +25,7 @@ #define SURELOG_COMPILEHELPER_H #pragma once +#include #include #include #include diff --git a/include/Surelog/DesignCompile/DesignElaboration.h b/include/Surelog/DesignCompile/DesignElaboration.h index 570cb9f8a2..e29803634b 100644 --- a/include/Surelog/DesignCompile/DesignElaboration.h +++ b/include/Surelog/DesignCompile/DesignElaboration.h @@ -25,6 +25,7 @@ #define SURELOG_DESIGNELABORATION_H #pragma once +#include #include #include #include diff --git a/include/Surelog/DesignCompile/ElaborationStep.h b/include/Surelog/DesignCompile/ElaborationStep.h index 8ca6794bb7..a242b4859d 100644 --- a/include/Surelog/DesignCompile/ElaborationStep.h +++ b/include/Surelog/DesignCompile/ElaborationStep.h @@ -25,6 +25,7 @@ #define SURELOG_ELABORATIONSTEP_H #pragma once +#include #include #include #include diff --git a/include/Surelog/DesignCompile/ElaboratorHarness.h b/include/Surelog/DesignCompile/ElaboratorHarness.h index 4a85fc6e46..3c4c9f8c4f 100644 --- a/include/Surelog/DesignCompile/ElaboratorHarness.h +++ b/include/Surelog/DesignCompile/ElaboratorHarness.h @@ -25,6 +25,7 @@ #define SURELOG_ELABORATORHARNESS_H #pragma once +#include #include namespace SURELOG { diff --git a/include/Surelog/DesignCompile/NetlistElaboration.h b/include/Surelog/DesignCompile/NetlistElaboration.h index 803ecaf113..2d33d496f3 100644 --- a/include/Surelog/DesignCompile/NetlistElaboration.h +++ b/include/Surelog/DesignCompile/NetlistElaboration.h @@ -25,6 +25,7 @@ #define SURELOG_NETLISTELABORATION_H #pragma once +#include #include namespace SURELOG { diff --git a/include/Surelog/DesignCompile/ResolveSymbols.h b/include/Surelog/DesignCompile/ResolveSymbols.h index 68df4f4aeb..c075aece57 100644 --- a/include/Surelog/DesignCompile/ResolveSymbols.h +++ b/include/Surelog/DesignCompile/ResolveSymbols.h @@ -25,6 +25,7 @@ #define SURELOG_RESOLVESYMBOLS_H #pragma once +#include #include #include diff --git a/include/Surelog/DesignCompile/UhdmChecker.h b/include/Surelog/DesignCompile/UhdmChecker.h index f0b43e2c30..f5292df5ed 100644 --- a/include/Surelog/DesignCompile/UhdmChecker.h +++ b/include/Surelog/DesignCompile/UhdmChecker.h @@ -25,6 +25,7 @@ #define SURELOG_UHDMCHECKER_H #pragma once +#include #include #include diff --git a/include/Surelog/DesignCompile/UhdmWriter.h b/include/Surelog/DesignCompile/UhdmWriter.h index b37b92e0b4..b753b77e37 100644 --- a/include/Surelog/DesignCompile/UhdmWriter.h +++ b/include/Surelog/DesignCompile/UhdmWriter.h @@ -25,6 +25,7 @@ #define SURELOG_UHDMWRITER_H #pragma once +#include #include #include #include diff --git a/include/Surelog/ErrorReporting/ErrorContainer.h b/include/Surelog/ErrorReporting/ErrorContainer.h index a811a06d3c..ef5f552cf0 100644 --- a/include/Surelog/ErrorReporting/ErrorContainer.h +++ b/include/Surelog/ErrorReporting/ErrorContainer.h @@ -25,6 +25,7 @@ #define SURELOG_ERRORCONTAINER_H #pragma once +#include #include #include diff --git a/include/Surelog/ErrorReporting/LogListener.h b/include/Surelog/ErrorReporting/LogListener.h index 1a648cf467..d493f170b6 100644 --- a/include/Surelog/ErrorReporting/LogListener.h +++ b/include/Surelog/ErrorReporting/LogListener.h @@ -25,6 +25,7 @@ #define SURELOG_LOGLISTENER_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Expression/ExprBuilder.h b/include/Surelog/Expression/ExprBuilder.h index aa664c67de..3a9737e8da 100644 --- a/include/Surelog/Expression/ExprBuilder.h +++ b/include/Surelog/Expression/ExprBuilder.h @@ -25,6 +25,7 @@ #define SURELOG_EXPRBUILDER_H #pragma once +#include #include namespace SURELOG { diff --git a/include/Surelog/Library/SVLibShapeListener.h b/include/Surelog/Library/SVLibShapeListener.h index 43f79eaf6f..f6d32102b3 100644 --- a/include/Surelog/Library/SVLibShapeListener.h +++ b/include/Surelog/Library/SVLibShapeListener.h @@ -25,6 +25,7 @@ #define SURELOG_SVLIBSHAPELISTENER_H #pragma once +#include #include #include #include diff --git a/include/Surelog/SourceCompile/CommonListenerHelper.h b/include/Surelog/SourceCompile/CommonListenerHelper.h index 85596c15c1..63b0a97410 100644 --- a/include/Surelog/SourceCompile/CommonListenerHelper.h +++ b/include/Surelog/SourceCompile/CommonListenerHelper.h @@ -25,6 +25,7 @@ #define SURELOG_COMMONLISTENERHELPER_H #pragma once +#include #include #include #include diff --git a/include/Surelog/SourceCompile/CompilationUnit.h b/include/Surelog/SourceCompile/CompilationUnit.h index f4c347fe74..61c9e4de3c 100644 --- a/include/Surelog/SourceCompile/CompilationUnit.h +++ b/include/Surelog/SourceCompile/CompilationUnit.h @@ -25,6 +25,7 @@ #define SURELOG_COMPILATIONUNIT_H #pragma once +#include #include #include #include diff --git a/include/Surelog/SourceCompile/CompileSourceFile.h b/include/Surelog/SourceCompile/CompileSourceFile.h index 226e14fea0..59e0c3bccd 100644 --- a/include/Surelog/SourceCompile/CompileSourceFile.h +++ b/include/Surelog/SourceCompile/CompileSourceFile.h @@ -25,6 +25,7 @@ #define SURELOG_COMPILESOURCEFILE_H #pragma once +#include #include #include diff --git a/include/Surelog/SourceCompile/Compiler.h b/include/Surelog/SourceCompile/Compiler.h index 6d84282008..a7ba267181 100644 --- a/include/Surelog/SourceCompile/Compiler.h +++ b/include/Surelog/SourceCompile/Compiler.h @@ -25,6 +25,7 @@ limitations under the License. #define SURELOG_COMPILER_H #pragma once +#include #include #include #include diff --git a/include/Surelog/SourceCompile/ParseFile.h b/include/Surelog/SourceCompile/ParseFile.h index ce7e1645e2..72059279d3 100644 --- a/include/Surelog/SourceCompile/ParseFile.h +++ b/include/Surelog/SourceCompile/ParseFile.h @@ -25,6 +25,7 @@ #define SURELOG_PARSEFILE_H #pragma once +#include #include #include diff --git a/include/Surelog/SourceCompile/ParseTreeTraceListener.template.hpp b/include/Surelog/SourceCompile/ParseTreeTraceListener.template.hpp index e171cc160e..fefd3a8677 100644 --- a/include/Surelog/SourceCompile/ParseTreeTraceListener.template.hpp +++ b/include/Surelog/SourceCompile/ParseTreeTraceListener.template.hpp @@ -27,6 +27,7 @@ #define SURELOG_PARSETREETRACELISTENER_H #pragma once +#include #include #include diff --git a/include/Surelog/SourceCompile/ParserHarness.h b/include/Surelog/SourceCompile/ParserHarness.h index ce8d01dddd..46b7bbe2c2 100644 --- a/include/Surelog/SourceCompile/ParserHarness.h +++ b/include/Surelog/SourceCompile/ParserHarness.h @@ -25,6 +25,7 @@ #define SURELOG_PARSERHARNESS_H #pragma once +#include #include #include diff --git a/include/Surelog/SourceCompile/PreprocessFile.h b/include/Surelog/SourceCompile/PreprocessFile.h index c4712c85b2..ebdb891642 100644 --- a/include/Surelog/SourceCompile/PreprocessFile.h +++ b/include/Surelog/SourceCompile/PreprocessFile.h @@ -25,6 +25,7 @@ #define SURELOG_PREPROCESSFILE_H #pragma once +#include #include #include #include diff --git a/include/Surelog/SourceCompile/PreprocessHarness.h b/include/Surelog/SourceCompile/PreprocessHarness.h index 73a70c2b9f..2c75df9403 100644 --- a/include/Surelog/SourceCompile/PreprocessHarness.h +++ b/include/Surelog/SourceCompile/PreprocessHarness.h @@ -25,6 +25,7 @@ #define SURELOG_PREPROCESSHARNESS_H #pragma once +#include #include #include #include diff --git a/include/Surelog/SourceCompile/SV3_1aPpTreeListenerHelper.h b/include/Surelog/SourceCompile/SV3_1aPpTreeListenerHelper.h index 91961936a9..148c741d41 100644 --- a/include/Surelog/SourceCompile/SV3_1aPpTreeListenerHelper.h +++ b/include/Surelog/SourceCompile/SV3_1aPpTreeListenerHelper.h @@ -25,6 +25,7 @@ #define SURELOG_SV3_1APPTREELISTENERHELPER_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Testbench/ClassObject.h b/include/Surelog/Testbench/ClassObject.h index 3a97065511..5e87347bf7 100644 --- a/include/Surelog/Testbench/ClassObject.h +++ b/include/Surelog/Testbench/ClassObject.h @@ -25,6 +25,7 @@ #define SURELOG_CLASSOBJECT_H #pragma once +#include #include #include diff --git a/include/Surelog/Testbench/FunctionMethod.h b/include/Surelog/Testbench/FunctionMethod.h index 22e9e23ff4..fb4d8ed893 100644 --- a/include/Surelog/Testbench/FunctionMethod.h +++ b/include/Surelog/Testbench/FunctionMethod.h @@ -25,6 +25,7 @@ #define SURELOG_FUNCTIONMETHOD_H #pragma once +#include #include namespace SURELOG { diff --git a/include/Surelog/Testbench/Program.h b/include/Surelog/Testbench/Program.h index a4a39a1f0d..17c3b22461 100644 --- a/include/Surelog/Testbench/Program.h +++ b/include/Surelog/Testbench/Program.h @@ -25,6 +25,7 @@ #define SURELOG_PROGRAM_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Testbench/Property.h b/include/Surelog/Testbench/Property.h index 74b58f0531..e3cf011560 100644 --- a/include/Surelog/Testbench/Property.h +++ b/include/Surelog/Testbench/Property.h @@ -25,6 +25,7 @@ #define SURELOG_PROPERTY_H #pragma once +#include #include namespace SURELOG { diff --git a/include/Surelog/Testbench/TypeDef.h b/include/Surelog/Testbench/TypeDef.h index db680fe10c..d114eb3654 100644 --- a/include/Surelog/Testbench/TypeDef.h +++ b/include/Surelog/Testbench/TypeDef.h @@ -25,6 +25,7 @@ #define SURELOG_TYPEDEF_H #pragma once +#include #include #include diff --git a/src/Cache/Cache.cpp b/src/Cache/Cache.cpp index d051f6ce0c..9ad78cde1c 100644 --- a/src/Cache/Cache.cpp +++ b/src/Cache/Cache.cpp @@ -29,6 +29,7 @@ #include #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/Cache/PPCache.cpp b/src/Cache/PPCache.cpp index 3722c5ebd0..bfd19e25f5 100644 --- a/src/Cache/PPCache.cpp +++ b/src/Cache/PPCache.cpp @@ -29,6 +29,7 @@ #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/Cache/ParseCache.cpp b/src/Cache/ParseCache.cpp index fff6c5be6c..11ab80b4c7 100644 --- a/src/Cache/ParseCache.cpp +++ b/src/Cache/ParseCache.cpp @@ -29,6 +29,7 @@ #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/Cache/PythonAPICache.cpp b/src/Cache/PythonAPICache.cpp index bb4cc4748a..fdcd038525 100644 --- a/src/Cache/PythonAPICache.cpp +++ b/src/Cache/PythonAPICache.cpp @@ -29,6 +29,7 @@ #include #include +#include #include "Surelog/API/PythonAPI.h" #include "Surelog/Cache/Cache.h" diff --git a/src/CommandLine/CommandLineParser.cpp b/src/CommandLine/CommandLineParser.cpp index b76d1559b1..6c2c06efca 100644 --- a/src/CommandLine/CommandLineParser.cpp +++ b/src/CommandLine/CommandLineParser.cpp @@ -25,6 +25,7 @@ #include #include +#include #include "Surelog/API/PythonAPI.h" #include "Surelog/Common/PlatformFileSystem.h" diff --git a/src/Common/FileSystem.cpp b/src/Common/FileSystem.cpp index a618e7661d..259f13db97 100644 --- a/src/Common/FileSystem.cpp +++ b/src/Common/FileSystem.cpp @@ -30,6 +30,7 @@ #include #include +#include #elif defined(__APPLE__) #include #include diff --git a/src/Common/PlatformFileSystem.cpp b/src/Common/PlatformFileSystem.cpp index 49a36c0ef6..02c98e9eaf 100644 --- a/src/Common/PlatformFileSystem.cpp +++ b/src/Common/PlatformFileSystem.cpp @@ -28,6 +28,7 @@ #include #include #include +#include #include "Surelog/SourceCompile/SymbolTable.h" #include "Surelog/Utils/StringUtils.h" diff --git a/src/Common/PlatformFileSystem_test.cpp b/src/Common/PlatformFileSystem_test.cpp index c092b4dd78..8280197300 100644 --- a/src/Common/PlatformFileSystem_test.cpp +++ b/src/Common/PlatformFileSystem_test.cpp @@ -25,6 +25,8 @@ #include +#include + #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Design/Design.h" #include "Surelog/Library/Library.h" diff --git a/src/Config/Config.cpp b/src/Config/Config.cpp index c871831e7c..20e3fd4b47 100644 --- a/src/Config/Config.cpp +++ b/src/Config/Config.cpp @@ -23,6 +23,8 @@ #include "Surelog/Config/Config.h" +#include + namespace SURELOG { UseClause* Config::getInstanceUseClause(std::string_view instance) { const auto found = m_instanceUseClauses.find(instance); diff --git a/src/Config/ConfigSet.cpp b/src/Config/ConfigSet.cpp index 3a24af1467..ca49cbfe54 100644 --- a/src/Config/ConfigSet.cpp +++ b/src/Config/ConfigSet.cpp @@ -23,6 +23,8 @@ #include "Surelog/Config/ConfigSet.h" +#include + namespace SURELOG { Config* ConfigSet::getMutableConfigByName(std::string_view configName) { for (auto& config : m_configs) { diff --git a/src/DesignCompile/CompileAssertion.cpp b/src/DesignCompile/CompileAssertion.cpp index 1265dde9ed..208ea550fa 100644 --- a/src/DesignCompile/CompileAssertion.cpp +++ b/src/DesignCompile/CompileAssertion.cpp @@ -31,6 +31,7 @@ #include #include +#include namespace SURELOG { diff --git a/src/DesignCompile/CompileClass.cpp b/src/DesignCompile/CompileClass.cpp index 224746669b..9e5411ae0b 100644 --- a/src/DesignCompile/CompileClass.cpp +++ b/src/DesignCompile/CompileClass.cpp @@ -42,6 +42,7 @@ #include #include +#include namespace SURELOG { int32_t FunctorCompileClass::operator()() const { diff --git a/src/DesignCompile/CompileDesign.cpp b/src/DesignCompile/CompileDesign.cpp index f5e9590520..2d81b64f39 100644 --- a/src/DesignCompile/CompileDesign.cpp +++ b/src/DesignCompile/CompileDesign.cpp @@ -56,6 +56,7 @@ #include #include +#include #include #ifdef USETBB diff --git a/src/DesignCompile/CompileExpression.cpp b/src/DesignCompile/CompileExpression.cpp index fd24c61270..63c3ca7d3e 100644 --- a/src/DesignCompile/CompileExpression.cpp +++ b/src/DesignCompile/CompileExpression.cpp @@ -25,6 +25,7 @@ #include #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/DesignCompile/CompileHelper.cpp b/src/DesignCompile/CompileHelper.cpp index 84c36d3bac..365b570cf1 100644 --- a/src/DesignCompile/CompileHelper.cpp +++ b/src/DesignCompile/CompileHelper.cpp @@ -66,6 +66,7 @@ #include #include #include +#include #include namespace SURELOG { diff --git a/src/DesignCompile/CompileHelper_test.cpp b/src/DesignCompile/CompileHelper_test.cpp index 6e451689dc..77366165c0 100644 --- a/src/DesignCompile/CompileHelper_test.cpp +++ b/src/DesignCompile/CompileHelper_test.cpp @@ -21,6 +21,7 @@ #include #include +#include namespace SURELOG { diff --git a/src/DesignCompile/CompileModule.cpp b/src/DesignCompile/CompileModule.cpp index 3b52cc64a0..b00cb2e651 100644 --- a/src/DesignCompile/CompileModule.cpp +++ b/src/DesignCompile/CompileModule.cpp @@ -50,6 +50,7 @@ #include #include +#include namespace SURELOG { diff --git a/src/DesignCompile/CompilePackage.cpp b/src/DesignCompile/CompilePackage.cpp index dd86fe8f08..a748f2cf19 100644 --- a/src/DesignCompile/CompilePackage.cpp +++ b/src/DesignCompile/CompilePackage.cpp @@ -39,6 +39,7 @@ #include #include +#include namespace SURELOG { diff --git a/src/DesignCompile/CompileProgram.cpp b/src/DesignCompile/CompileProgram.cpp index fa5a53bc34..d029ff2db5 100644 --- a/src/DesignCompile/CompileProgram.cpp +++ b/src/DesignCompile/CompileProgram.cpp @@ -28,6 +28,7 @@ #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Design/FileContent.h" diff --git a/src/DesignCompile/CompileStmt.cpp b/src/DesignCompile/CompileStmt.cpp index fcf7275931..884891d75f 100644 --- a/src/DesignCompile/CompileStmt.cpp +++ b/src/DesignCompile/CompileStmt.cpp @@ -55,6 +55,7 @@ #include #include +#include namespace SURELOG { diff --git a/src/DesignCompile/CompileType.cpp b/src/DesignCompile/CompileType.cpp index 0e58d1c2a3..424aec34f9 100644 --- a/src/DesignCompile/CompileType.cpp +++ b/src/DesignCompile/CompileType.cpp @@ -56,6 +56,7 @@ #include #include +#include namespace SURELOG { diff --git a/src/DesignCompile/ElaborationStep.cpp b/src/DesignCompile/ElaborationStep.cpp index 5f1d061b7b..61b395a6a0 100644 --- a/src/DesignCompile/ElaborationStep.cpp +++ b/src/DesignCompile/ElaborationStep.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/DesignCompile/ElaboratorHarness.cpp b/src/DesignCompile/ElaboratorHarness.cpp index 2f4099747a..c9346af33a 100644 --- a/src/DesignCompile/ElaboratorHarness.cpp +++ b/src/DesignCompile/ElaboratorHarness.cpp @@ -23,6 +23,8 @@ #include "Surelog/DesignCompile/ElaboratorHarness.h" +#include + #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Design/Design.h" #include "Surelog/ErrorReporting/ErrorContainer.h" diff --git a/src/DesignCompile/EvalFunc.cpp b/src/DesignCompile/EvalFunc.cpp index 98d70fd506..90dc37740a 100644 --- a/src/DesignCompile/EvalFunc.cpp +++ b/src/DesignCompile/EvalFunc.cpp @@ -38,6 +38,7 @@ #include #include #include +#include namespace SURELOG { diff --git a/src/DesignCompile/ResolveSymbols.cpp b/src/DesignCompile/ResolveSymbols.cpp index 34c58c2df6..c6a23599d7 100644 --- a/src/DesignCompile/ResolveSymbols.cpp +++ b/src/DesignCompile/ResolveSymbols.cpp @@ -38,6 +38,7 @@ #include #include +#include namespace SURELOG { diff --git a/src/DesignCompile/TestbenchElaboration.cpp b/src/DesignCompile/TestbenchElaboration.cpp index ff0e651e33..e507379ad5 100644 --- a/src/DesignCompile/TestbenchElaboration.cpp +++ b/src/DesignCompile/TestbenchElaboration.cpp @@ -45,6 +45,7 @@ #include #include +#include namespace SURELOG { diff --git a/src/DesignCompile/UhdmChecker.cpp b/src/DesignCompile/UhdmChecker.cpp index 2c29412d18..3504027328 100644 --- a/src/DesignCompile/UhdmChecker.cpp +++ b/src/DesignCompile/UhdmChecker.cpp @@ -44,6 +44,7 @@ #include #include #include +#include namespace SURELOG { using UHDM::BaseClass; diff --git a/src/DesignCompile/UhdmWriter.cpp b/src/DesignCompile/UhdmWriter.cpp index 0731305d23..904d43caf9 100644 --- a/src/DesignCompile/UhdmWriter.cpp +++ b/src/DesignCompile/UhdmWriter.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/ErrorReporting/ErrorContainer.cpp b/src/ErrorReporting/ErrorContainer.cpp index f8ef2388a8..04d99b37bb 100644 --- a/src/ErrorReporting/ErrorContainer.cpp +++ b/src/ErrorReporting/ErrorContainer.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include "Surelog/API/PythonAPI.h" #include "Surelog/CommandLine/CommandLineParser.h" diff --git a/src/ErrorReporting/ErrorDefinition.cpp b/src/ErrorReporting/ErrorDefinition.cpp index b455b61c22..785da0f1eb 100644 --- a/src/ErrorReporting/ErrorDefinition.cpp +++ b/src/ErrorReporting/ErrorDefinition.cpp @@ -23,6 +23,7 @@ #include "Surelog/ErrorReporting/ErrorDefinition.h" #include +#include #include "Surelog/Utils/NumUtils.h" #include "Surelog/Utils/StringUtils.h" diff --git a/src/ErrorReporting/LogListener.cpp b/src/ErrorReporting/LogListener.cpp index 7d1ccc19df..f42ddf281c 100644 --- a/src/ErrorReporting/LogListener.cpp +++ b/src/ErrorReporting/LogListener.cpp @@ -23,6 +23,8 @@ #include "Surelog/ErrorReporting/LogListener.h" +#include + #include "Surelog/Common/FileSystem.h" namespace SURELOG { diff --git a/src/ErrorReporting/Report.cpp b/src/ErrorReporting/Report.cpp index d3367f4589..dc7acbb999 100644 --- a/src/ErrorReporting/Report.cpp +++ b/src/ErrorReporting/Report.cpp @@ -28,6 +28,7 @@ #include #include #include +#include #include #include "Surelog/CommandLine/CommandLineParser.h" diff --git a/src/ErrorReporting/Waiver.cpp b/src/ErrorReporting/Waiver.cpp index 2644a7c254..1cd2e791cf 100644 --- a/src/ErrorReporting/Waiver.cpp +++ b/src/ErrorReporting/Waiver.cpp @@ -24,6 +24,7 @@ #include "Surelog/ErrorReporting/Waiver.h" #include +#include #include "Surelog/ErrorReporting/ErrorDefinition.h" diff --git a/src/Expression/ExprBuilder.cpp b/src/Expression/ExprBuilder.cpp index 317776931f..38af48f1a2 100644 --- a/src/Expression/ExprBuilder.cpp +++ b/src/Expression/ExprBuilder.cpp @@ -24,6 +24,7 @@ #include #include +#include #include "Surelog/Design/Design.h" #include "Surelog/Design/FileContent.h" diff --git a/src/Library/Library.cpp b/src/Library/Library.cpp index e9d03b9e01..f50201990e 100644 --- a/src/Library/Library.cpp +++ b/src/Library/Library.cpp @@ -23,6 +23,8 @@ #include "Surelog/Library/Library.h" +#include + #include "Surelog/Design/ModuleDefinition.h" #include "Surelog/SourceCompile/SymbolTable.h" diff --git a/src/Library/LibrarySet.cpp b/src/Library/LibrarySet.cpp index 672f7593f5..8b4ee04c76 100644 --- a/src/Library/LibrarySet.cpp +++ b/src/Library/LibrarySet.cpp @@ -25,6 +25,7 @@ #include #include +#include #include "Surelog/ErrorReporting/ErrorContainer.h" #include "Surelog/Library/Library.h" diff --git a/src/Library/SVLibShapeListener.cpp b/src/Library/SVLibShapeListener.cpp index 35d690333a..a418611c70 100644 --- a/src/Library/SVLibShapeListener.cpp +++ b/src/Library/SVLibShapeListener.cpp @@ -25,6 +25,7 @@ #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/Package/Package.cpp b/src/Package/Package.cpp index a125ec2e01..2d13e0c75a 100644 --- a/src/Package/Package.cpp +++ b/src/Package/Package.cpp @@ -23,6 +23,8 @@ #include "Surelog/Package/Package.h" +#include + #include "Surelog/Design/FileContent.h" #include "Surelog/Testbench/ClassDefinition.h" diff --git a/src/SourceCompile/AnalyzeFile.cpp b/src/SourceCompile/AnalyzeFile.cpp index 337f61b0b3..8598c53836 100644 --- a/src/SourceCompile/AnalyzeFile.cpp +++ b/src/SourceCompile/AnalyzeFile.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/SourceCompile/CommonListenerHelper.cpp b/src/SourceCompile/CommonListenerHelper.cpp index 2002d92646..8d3f8c3880 100644 --- a/src/SourceCompile/CommonListenerHelper.cpp +++ b/src/SourceCompile/CommonListenerHelper.cpp @@ -25,6 +25,8 @@ #include +#include + #include "Surelog/Design/DesignElement.h" #include "Surelog/Design/FileContent.h" diff --git a/src/SourceCompile/CompilationUnit.cpp b/src/SourceCompile/CompilationUnit.cpp index edfa9329ea..f05d9bc0fd 100644 --- a/src/SourceCompile/CompilationUnit.cpp +++ b/src/SourceCompile/CompilationUnit.cpp @@ -22,6 +22,8 @@ */ #include "Surelog/SourceCompile/CompilationUnit.h" +#include + namespace SURELOG { CompilationUnit::CompilationUnit(bool fileunit) diff --git a/src/SourceCompile/CompileSourceFile.cpp b/src/SourceCompile/CompileSourceFile.cpp index 3c750e050e..cb261e5eec 100644 --- a/src/SourceCompile/CompileSourceFile.cpp +++ b/src/SourceCompile/CompileSourceFile.cpp @@ -36,6 +36,8 @@ #ifdef SURELOG_WITH_PYTHON #include +#include + #include "Surelog/API/PythonAPI.h" #include "Surelog/SourceCompile/PythonListen.h" #endif diff --git a/src/SourceCompile/Compiler.cpp b/src/SourceCompile/Compiler.cpp index ef46ccd911..6332fbb7d8 100644 --- a/src/SourceCompile/Compiler.cpp +++ b/src/SourceCompile/Compiler.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include #include "Surelog/API/PythonAPI.h" diff --git a/src/SourceCompile/MacroInfo.cpp b/src/SourceCompile/MacroInfo.cpp index dd5d783aef..35e2b150f3 100644 --- a/src/SourceCompile/MacroInfo.cpp +++ b/src/SourceCompile/MacroInfo.cpp @@ -24,6 +24,7 @@ #include "Surelog/SourceCompile/MacroInfo.h" #include +#include namespace SURELOG { MacroInfo::MacroInfo(std::string_view name, int32_t type, PathId fileId, diff --git a/src/SourceCompile/ParseFile.cpp b/src/SourceCompile/ParseFile.cpp index ea0ee43330..aec4d7e4e0 100644 --- a/src/SourceCompile/ParseFile.cpp +++ b/src/SourceCompile/ParseFile.cpp @@ -27,6 +27,8 @@ #include #include +#include + #include "Surelog/Cache/ParseCache.h" #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/SourceCompile/ParserHarness.cpp b/src/SourceCompile/ParserHarness.cpp index ae9adcfbee..b606545400 100644 --- a/src/SourceCompile/ParserHarness.cpp +++ b/src/SourceCompile/ParserHarness.cpp @@ -23,6 +23,8 @@ #include "Surelog/SourceCompile/ParserHarness.h" +#include + #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Design/FileContent.h" #include "Surelog/ErrorReporting/ErrorContainer.h" diff --git a/src/SourceCompile/PreprocessHarness.cpp b/src/SourceCompile/PreprocessHarness.cpp index a627199228..2fe98d54e0 100644 --- a/src/SourceCompile/PreprocessHarness.cpp +++ b/src/SourceCompile/PreprocessHarness.cpp @@ -24,6 +24,7 @@ #include "Surelog/SourceCompile/PreprocessHarness.h" #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Library/Library.h" diff --git a/src/SourceCompile/SV3_1aPpTreeListenerHelper.cpp b/src/SourceCompile/SV3_1aPpTreeListenerHelper.cpp index bf1c0d6c83..48c325b30f 100644 --- a/src/SourceCompile/SV3_1aPpTreeListenerHelper.cpp +++ b/src/SourceCompile/SV3_1aPpTreeListenerHelper.cpp @@ -23,6 +23,8 @@ #include "Surelog/SourceCompile/SV3_1aPpTreeListenerHelper.h" +#include + #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/ErrorReporting/ErrorContainer.h" #include "Surelog/SourceCompile/CompileSourceFile.h" diff --git a/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp b/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp index 0ef3531305..b7a7bc5b03 100644 --- a/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp +++ b/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp @@ -18,6 +18,7 @@ #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/SourceCompile/SV3_1aTreeShapeHelper.cpp b/src/SourceCompile/SV3_1aTreeShapeHelper.cpp index 590d0d186e..bb0dccd7ec 100644 --- a/src/SourceCompile/SV3_1aTreeShapeHelper.cpp +++ b/src/SourceCompile/SV3_1aTreeShapeHelper.cpp @@ -24,6 +24,7 @@ #include "Surelog/SourceCompile/SV3_1aTreeShapeHelper.h" #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Design/FileContent.h" diff --git a/src/SourceCompile/SV3_1aTreeShapeListener.cpp b/src/SourceCompile/SV3_1aTreeShapeListener.cpp index 7dcbad2b2a..3a4d44df46 100644 --- a/src/SourceCompile/SV3_1aTreeShapeListener.cpp +++ b/src/SourceCompile/SV3_1aTreeShapeListener.cpp @@ -25,6 +25,7 @@ #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/Testbench/ClassObject.cpp b/src/Testbench/ClassObject.cpp index dd414bf6d8..1ca026ed1c 100644 --- a/src/Testbench/ClassObject.cpp +++ b/src/Testbench/ClassObject.cpp @@ -23,6 +23,8 @@ #include "Surelog/Testbench/ClassObject.h" +#include + #include "Surelog/Testbench/ClassDefinition.h" namespace SURELOG { diff --git a/src/Testbench/TypeDef.cpp b/src/Testbench/TypeDef.cpp index 3ca20d032e..a545472229 100644 --- a/src/Testbench/TypeDef.cpp +++ b/src/Testbench/TypeDef.cpp @@ -23,6 +23,8 @@ #include "Surelog/Testbench/TypeDef.h" +#include + #include "Surelog/Design/FileContent.h" namespace SURELOG { diff --git a/src/Utils/NumUtils.cpp b/src/Utils/NumUtils.cpp index bf337bf45c..81dae38cc2 100644 --- a/src/Utils/NumUtils.cpp +++ b/src/Utils/NumUtils.cpp @@ -26,6 +26,7 @@ #include #include #include +#include namespace SURELOG { diff --git a/src/Utils/StringUtils.cpp b/src/Utils/StringUtils.cpp index 6cb100dd93..13a7e93d65 100644 --- a/src/Utils/StringUtils.cpp +++ b/src/Utils/StringUtils.cpp @@ -31,6 +31,7 @@ #include #include #include +#include namespace SURELOG { diff --git a/src/Utils/StringUtils_test.cpp b/src/Utils/StringUtils_test.cpp index 478e2d0663..8f934b5357 100644 --- a/src/Utils/StringUtils_test.cpp +++ b/src/Utils/StringUtils_test.cpp @@ -21,6 +21,7 @@ #include #include +#include namespace SURELOG { using ::testing::ElementsAre; diff --git a/src/hellodesign.cpp b/src/hellodesign.cpp index 4be3ed6bba..ec8c1416f4 100644 --- a/src/hellodesign.cpp +++ b/src/hellodesign.cpp @@ -27,6 +27,7 @@ #include #include +#include #include "Surelog/API/Surelog.h" #include "Surelog/CommandLine/CommandLineParser.h" diff --git a/src/main.cpp b/src/main.cpp index fc0bb9eec9..90dc108754 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -24,6 +24,8 @@ #if defined(_MSC_VER) #include #include + +#include #else #include #include diff --git a/src/roundtrip.cpp b/src/roundtrip.cpp index 600f4e5332..c763890782 100644 --- a/src/roundtrip.cpp +++ b/src/roundtrip.cpp @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include From b91ecc6339b2aca5a73478ddc2506715e37c1b02 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Fri, 8 Nov 2024 20:57:23 -0800 Subject: [PATCH 3/8] Add `` header for files using std::vector --- include/Surelog/Common/FileSystem.h | 1 + include/Surelog/Common/PlatformFileSystem.h | 1 + include/Surelog/Design/DesignComponent.h | 1 + include/Surelog/Design/Function.h | 1 + include/Surelog/Design/ModuleInstance.h | 1 + include/Surelog/Design/Signal.h | 1 + include/Surelog/DesignCompile/CompileDesign.h | 1 + include/Surelog/DesignCompile/CompileHelper.h | 1 + include/Surelog/DesignCompile/DesignElaboration.h | 1 + include/Surelog/DesignCompile/ResolveSymbols.h | 1 + include/Surelog/DesignCompile/UhdmWriter.h | 1 + include/Surelog/SourceCompile/CompilationUnit.h | 1 + include/Surelog/SourceCompile/ParseFile.h | 1 + include/Surelog/Utils/ParseUtils.h | 1 + src/API/PythonAPI.cpp | 1 + src/API/SLAPI.cpp | 1 + src/API/Surelog.cpp | 2 ++ src/Cache/Cache.cpp | 1 + src/Cache/PPCache.cpp | 1 + src/Cache/ParseCache.cpp | 1 + src/Cache/PythonAPICache.cpp | 1 + src/CommandLine/CommandLineParser.cpp | 1 + src/Common/FileSystem.cpp | 1 + src/Common/PlatformFileSystem.cpp | 1 + src/DesignCompile/CompileClass.cpp | 1 + src/DesignCompile/CompileDesign.cpp | 1 + src/DesignCompile/CompileExpression.cpp | 1 + src/DesignCompile/CompileExpression_test.cpp | 1 + src/DesignCompile/CompileFileContent.cpp | 1 + src/DesignCompile/CompileModule.cpp | 1 + src/DesignCompile/CompilePackage.cpp | 1 + src/DesignCompile/CompileProgram.cpp | 1 + src/DesignCompile/CompileStmt.cpp | 1 + src/DesignCompile/CompileType.cpp | 1 + src/DesignCompile/DesignElaboration.cpp | 1 + src/DesignCompile/ElaborationStep.cpp | 1 + src/DesignCompile/EvalFunc.cpp | 1 + src/DesignCompile/NetlistElaboration.cpp | 1 + src/DesignCompile/ResolveSymbols.cpp | 1 + src/DesignCompile/TestbenchElaboration.cpp | 1 + src/DesignCompile/UhdmChecker.cpp | 1 + src/DesignCompile/UhdmWriter.cpp | 1 + src/ErrorReporting/Error.cpp | 2 ++ src/ErrorReporting/ErrorContainer.cpp | 1 + src/Expression/ExprBuilder.cpp | 1 + src/Library/ParseLibraryDef.cpp | 1 + src/SourceCompile/AnalyzeFile.cpp | 1 + src/SourceCompile/CheckCompile.cpp | 1 + src/SourceCompile/CommonListenerHelper.cpp | 1 + src/SourceCompile/CompilationUnit.cpp | 1 + src/SourceCompile/CompileSourceFile.cpp | 1 + src/SourceCompile/Compiler.cpp | 1 + src/SourceCompile/LoopCheck.cpp | 1 + src/SourceCompile/MacroInfo.cpp | 1 + src/SourceCompile/ParseTreeListener.template.cxx | 1 + src/SourceCompile/PreprocessFile.cpp | 1 + src/SourceCompile/SV3_1aPpTreeListenerHelper.cpp | 1 + src/SourceCompile/SV3_1aPpTreeShapeListener.cpp | 1 + src/SourceCompile/SV3_1aTreeShapeHelper.cpp | 1 + src/SourceCompile/SV3_1aTreeShapeListener.cpp | 1 + src/Utils/ParseUtils.cpp | 1 + src/Utils/StringUtils.cpp | 1 + src/Utils/StringUtils_test.cpp | 1 + 63 files changed, 65 insertions(+) diff --git a/include/Surelog/Common/FileSystem.h b/include/Surelog/Common/FileSystem.h index 4d2bf693c5..47cfc868e4 100644 --- a/include/Surelog/Common/FileSystem.h +++ b/include/Surelog/Common/FileSystem.h @@ -25,6 +25,7 @@ #define SURELOG_FILESYSTEM_H #pragma once +#include #include #include diff --git a/include/Surelog/Common/PlatformFileSystem.h b/include/Surelog/Common/PlatformFileSystem.h index 13b621d531..a051cf5be9 100644 --- a/include/Surelog/Common/PlatformFileSystem.h +++ b/include/Surelog/Common/PlatformFileSystem.h @@ -25,6 +25,7 @@ #define SURELOG_PLATFORMFILESYSTEM_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/DesignComponent.h b/include/Surelog/Design/DesignComponent.h index 46e6cebcac..4b6f13deaf 100644 --- a/include/Surelog/Design/DesignComponent.h +++ b/include/Surelog/Design/DesignComponent.h @@ -25,6 +25,7 @@ #define SURELOG_DESIGNCOMPONENT_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/Function.h b/include/Surelog/Design/Function.h index b416b7e060..3c7f932751 100644 --- a/include/Surelog/Design/Function.h +++ b/include/Surelog/Design/Function.h @@ -25,6 +25,7 @@ #define SURELOG_FUNCTION_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/ModuleInstance.h b/include/Surelog/Design/ModuleInstance.h index 4ad301ab78..0ff5c0278a 100644 --- a/include/Surelog/Design/ModuleInstance.h +++ b/include/Surelog/Design/ModuleInstance.h @@ -25,6 +25,7 @@ #define SURELOG_MODULEINSTANCE_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/Signal.h b/include/Surelog/Design/Signal.h index 8efcbcb2b7..4afd26361e 100644 --- a/include/Surelog/Design/Signal.h +++ b/include/Surelog/Design/Signal.h @@ -25,6 +25,7 @@ #define SURELOG_SIGNAL_H #pragma once +#include #include #include #include diff --git a/include/Surelog/DesignCompile/CompileDesign.h b/include/Surelog/DesignCompile/CompileDesign.h index a1de1993ee..855880864c 100644 --- a/include/Surelog/DesignCompile/CompileDesign.h +++ b/include/Surelog/DesignCompile/CompileDesign.h @@ -25,6 +25,7 @@ #define SURELOG_COMPILEDESIGN_H #pragma once +#include #include // UHDM diff --git a/include/Surelog/DesignCompile/CompileHelper.h b/include/Surelog/DesignCompile/CompileHelper.h index d96fc0efc3..4313b4ab49 100644 --- a/include/Surelog/DesignCompile/CompileHelper.h +++ b/include/Surelog/DesignCompile/CompileHelper.h @@ -25,6 +25,7 @@ #define SURELOG_COMPILEHELPER_H #pragma once +#include #include #include #include diff --git a/include/Surelog/DesignCompile/DesignElaboration.h b/include/Surelog/DesignCompile/DesignElaboration.h index e29803634b..c654cbbec0 100644 --- a/include/Surelog/DesignCompile/DesignElaboration.h +++ b/include/Surelog/DesignCompile/DesignElaboration.h @@ -25,6 +25,7 @@ #define SURELOG_DESIGNELABORATION_H #pragma once +#include #include #include #include diff --git a/include/Surelog/DesignCompile/ResolveSymbols.h b/include/Surelog/DesignCompile/ResolveSymbols.h index c075aece57..3c51d298d0 100644 --- a/include/Surelog/DesignCompile/ResolveSymbols.h +++ b/include/Surelog/DesignCompile/ResolveSymbols.h @@ -25,6 +25,7 @@ #define SURELOG_RESOLVESYMBOLS_H #pragma once +#include #include #include #include diff --git a/include/Surelog/DesignCompile/UhdmWriter.h b/include/Surelog/DesignCompile/UhdmWriter.h index b753b77e37..d6cdbd4afa 100644 --- a/include/Surelog/DesignCompile/UhdmWriter.h +++ b/include/Surelog/DesignCompile/UhdmWriter.h @@ -25,6 +25,7 @@ #define SURELOG_UHDMWRITER_H #pragma once +#include #include #include #include diff --git a/include/Surelog/SourceCompile/CompilationUnit.h b/include/Surelog/SourceCompile/CompilationUnit.h index 61c9e4de3c..adffefd6d7 100644 --- a/include/Surelog/SourceCompile/CompilationUnit.h +++ b/include/Surelog/SourceCompile/CompilationUnit.h @@ -25,6 +25,7 @@ #define SURELOG_COMPILATIONUNIT_H #pragma once +#include #include #include #include diff --git a/include/Surelog/SourceCompile/ParseFile.h b/include/Surelog/SourceCompile/ParseFile.h index 72059279d3..3db1467718 100644 --- a/include/Surelog/SourceCompile/ParseFile.h +++ b/include/Surelog/SourceCompile/ParseFile.h @@ -25,6 +25,7 @@ #define SURELOG_PARSEFILE_H #pragma once +#include #include #include diff --git a/include/Surelog/Utils/ParseUtils.h b/include/Surelog/Utils/ParseUtils.h index eb0b90a15d..1ad5fee907 100644 --- a/include/Surelog/Utils/ParseUtils.h +++ b/include/Surelog/Utils/ParseUtils.h @@ -25,6 +25,7 @@ #define SURELOG_PARSEUTILS_H #pragma once +#include #include #include diff --git a/src/API/PythonAPI.cpp b/src/API/PythonAPI.cpp index c205174c43..768c154fdf 100644 --- a/src/API/PythonAPI.cpp +++ b/src/API/PythonAPI.cpp @@ -26,6 +26,7 @@ #include #include +#include #include "Surelog/Common/FileSystem.h" #include "Surelog/Design/Design.h" diff --git a/src/API/SLAPI.cpp b/src/API/SLAPI.cpp index b7a135c836..7c013ddefd 100644 --- a/src/API/SLAPI.cpp +++ b/src/API/SLAPI.cpp @@ -32,6 +32,7 @@ #include #include +#include #include "Surelog/Common/FileSystem.h" #include "Surelog/Design/Design.h" diff --git a/src/API/Surelog.cpp b/src/API/Surelog.cpp index 365ba75f0d..6c000b480c 100644 --- a/src/API/Surelog.cpp +++ b/src/API/Surelog.cpp @@ -16,6 +16,8 @@ #include "Surelog/API/Surelog.h" +#include + #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" #include "Surelog/Design/Design.h" diff --git a/src/Cache/Cache.cpp b/src/Cache/Cache.cpp index 9ad78cde1c..fa0f3bd915 100644 --- a/src/Cache/Cache.cpp +++ b/src/Cache/Cache.cpp @@ -30,6 +30,7 @@ #include #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/Cache/PPCache.cpp b/src/Cache/PPCache.cpp index bfd19e25f5..dced474aa0 100644 --- a/src/Cache/PPCache.cpp +++ b/src/Cache/PPCache.cpp @@ -30,6 +30,7 @@ #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/Cache/ParseCache.cpp b/src/Cache/ParseCache.cpp index 11ab80b4c7..fa58904e6e 100644 --- a/src/Cache/ParseCache.cpp +++ b/src/Cache/ParseCache.cpp @@ -30,6 +30,7 @@ #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/Cache/PythonAPICache.cpp b/src/Cache/PythonAPICache.cpp index fdcd038525..219b241893 100644 --- a/src/Cache/PythonAPICache.cpp +++ b/src/Cache/PythonAPICache.cpp @@ -30,6 +30,7 @@ #include #include +#include #include "Surelog/API/PythonAPI.h" #include "Surelog/Cache/Cache.h" diff --git a/src/CommandLine/CommandLineParser.cpp b/src/CommandLine/CommandLineParser.cpp index 6c2c06efca..6fdc24ec29 100644 --- a/src/CommandLine/CommandLineParser.cpp +++ b/src/CommandLine/CommandLineParser.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include "Surelog/API/PythonAPI.h" #include "Surelog/Common/PlatformFileSystem.h" diff --git a/src/Common/FileSystem.cpp b/src/Common/FileSystem.cpp index 259f13db97..6efca21b73 100644 --- a/src/Common/FileSystem.cpp +++ b/src/Common/FileSystem.cpp @@ -31,6 +31,7 @@ #include #include +#include #elif defined(__APPLE__) #include #include diff --git a/src/Common/PlatformFileSystem.cpp b/src/Common/PlatformFileSystem.cpp index 02c98e9eaf..be23a51b3c 100644 --- a/src/Common/PlatformFileSystem.cpp +++ b/src/Common/PlatformFileSystem.cpp @@ -29,6 +29,7 @@ #include #include #include +#include #include "Surelog/SourceCompile/SymbolTable.h" #include "Surelog/Utils/StringUtils.h" diff --git a/src/DesignCompile/CompileClass.cpp b/src/DesignCompile/CompileClass.cpp index 9e5411ae0b..6b35468359 100644 --- a/src/DesignCompile/CompileClass.cpp +++ b/src/DesignCompile/CompileClass.cpp @@ -43,6 +43,7 @@ #include #include #include +#include namespace SURELOG { int32_t FunctorCompileClass::operator()() const { diff --git a/src/DesignCompile/CompileDesign.cpp b/src/DesignCompile/CompileDesign.cpp index 2d81b64f39..977e9985dd 100644 --- a/src/DesignCompile/CompileDesign.cpp +++ b/src/DesignCompile/CompileDesign.cpp @@ -58,6 +58,7 @@ #include #include #include +#include #ifdef USETBB #include diff --git a/src/DesignCompile/CompileExpression.cpp b/src/DesignCompile/CompileExpression.cpp index 63c3ca7d3e..91fa0626a9 100644 --- a/src/DesignCompile/CompileExpression.cpp +++ b/src/DesignCompile/CompileExpression.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/DesignCompile/CompileExpression_test.cpp b/src/DesignCompile/CompileExpression_test.cpp index e30f901b7a..6eeb2ea845 100644 --- a/src/DesignCompile/CompileExpression_test.cpp +++ b/src/DesignCompile/CompileExpression_test.cpp @@ -18,6 +18,7 @@ #include #include +#include #include "Surelog/Design/FileContent.h" #include "Surelog/DesignCompile/CompileDesign.h" diff --git a/src/DesignCompile/CompileFileContent.cpp b/src/DesignCompile/CompileFileContent.cpp index f10bd8fc2d..06129ec325 100644 --- a/src/DesignCompile/CompileFileContent.cpp +++ b/src/DesignCompile/CompileFileContent.cpp @@ -24,6 +24,7 @@ #include "Surelog/DesignCompile/CompileFileContent.h" #include +#include #include "Surelog/Design/FileContent.h" diff --git a/src/DesignCompile/CompileModule.cpp b/src/DesignCompile/CompileModule.cpp index b00cb2e651..2c8d5a1b79 100644 --- a/src/DesignCompile/CompileModule.cpp +++ b/src/DesignCompile/CompileModule.cpp @@ -51,6 +51,7 @@ #include #include #include +#include namespace SURELOG { diff --git a/src/DesignCompile/CompilePackage.cpp b/src/DesignCompile/CompilePackage.cpp index a748f2cf19..209017e800 100644 --- a/src/DesignCompile/CompilePackage.cpp +++ b/src/DesignCompile/CompilePackage.cpp @@ -40,6 +40,7 @@ #include #include #include +#include namespace SURELOG { diff --git a/src/DesignCompile/CompileProgram.cpp b/src/DesignCompile/CompileProgram.cpp index d029ff2db5..00c913a8a3 100644 --- a/src/DesignCompile/CompileProgram.cpp +++ b/src/DesignCompile/CompileProgram.cpp @@ -29,6 +29,7 @@ #include #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Design/FileContent.h" diff --git a/src/DesignCompile/CompileStmt.cpp b/src/DesignCompile/CompileStmt.cpp index 884891d75f..ef3cf4b5d9 100644 --- a/src/DesignCompile/CompileStmt.cpp +++ b/src/DesignCompile/CompileStmt.cpp @@ -56,6 +56,7 @@ #include #include #include +#include namespace SURELOG { diff --git a/src/DesignCompile/CompileType.cpp b/src/DesignCompile/CompileType.cpp index 424aec34f9..c3bbb6eb80 100644 --- a/src/DesignCompile/CompileType.cpp +++ b/src/DesignCompile/CompileType.cpp @@ -57,6 +57,7 @@ #include #include #include +#include namespace SURELOG { diff --git a/src/DesignCompile/DesignElaboration.cpp b/src/DesignCompile/DesignElaboration.cpp index 8f5e065405..60ba9a9fb9 100644 --- a/src/DesignCompile/DesignElaboration.cpp +++ b/src/DesignCompile/DesignElaboration.cpp @@ -54,6 +54,7 @@ #include #include #include +#include namespace SURELOG { DesignElaboration::DesignElaboration(CompileDesign* compileDesign) diff --git a/src/DesignCompile/ElaborationStep.cpp b/src/DesignCompile/ElaborationStep.cpp index 61b395a6a0..87f33a634d 100644 --- a/src/DesignCompile/ElaborationStep.cpp +++ b/src/DesignCompile/ElaborationStep.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/DesignCompile/EvalFunc.cpp b/src/DesignCompile/EvalFunc.cpp index 90dc37740a..f365a3f282 100644 --- a/src/DesignCompile/EvalFunc.cpp +++ b/src/DesignCompile/EvalFunc.cpp @@ -39,6 +39,7 @@ #include #include #include +#include namespace SURELOG { diff --git a/src/DesignCompile/NetlistElaboration.cpp b/src/DesignCompile/NetlistElaboration.cpp index 844722ab8b..3a4e37a476 100644 --- a/src/DesignCompile/NetlistElaboration.cpp +++ b/src/DesignCompile/NetlistElaboration.cpp @@ -25,6 +25,7 @@ #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/DesignCompile/ResolveSymbols.cpp b/src/DesignCompile/ResolveSymbols.cpp index c6a23599d7..1bb10396a0 100644 --- a/src/DesignCompile/ResolveSymbols.cpp +++ b/src/DesignCompile/ResolveSymbols.cpp @@ -39,6 +39,7 @@ #include #include +#include namespace SURELOG { diff --git a/src/DesignCompile/TestbenchElaboration.cpp b/src/DesignCompile/TestbenchElaboration.cpp index e507379ad5..e032b9a191 100644 --- a/src/DesignCompile/TestbenchElaboration.cpp +++ b/src/DesignCompile/TestbenchElaboration.cpp @@ -46,6 +46,7 @@ #include #include #include +#include namespace SURELOG { diff --git a/src/DesignCompile/UhdmChecker.cpp b/src/DesignCompile/UhdmChecker.cpp index 3504027328..7acc3fa36d 100644 --- a/src/DesignCompile/UhdmChecker.cpp +++ b/src/DesignCompile/UhdmChecker.cpp @@ -45,6 +45,7 @@ #include #include #include +#include namespace SURELOG { using UHDM::BaseClass; diff --git a/src/DesignCompile/UhdmWriter.cpp b/src/DesignCompile/UhdmWriter.cpp index 904d43caf9..4666c9de56 100644 --- a/src/DesignCompile/UhdmWriter.cpp +++ b/src/DesignCompile/UhdmWriter.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/ErrorReporting/Error.cpp b/src/ErrorReporting/Error.cpp index 0175bf1e20..f9b6aeb397 100644 --- a/src/ErrorReporting/Error.cpp +++ b/src/ErrorReporting/Error.cpp @@ -23,6 +23,8 @@ #include "Surelog/ErrorReporting/Error.h" +#include + namespace SURELOG { Error::Error(ErrorDefinition::ErrorType errorId, const Location& loc, diff --git a/src/ErrorReporting/ErrorContainer.cpp b/src/ErrorReporting/ErrorContainer.cpp index 04d99b37bb..77859781f4 100644 --- a/src/ErrorReporting/ErrorContainer.cpp +++ b/src/ErrorReporting/ErrorContainer.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include "Surelog/API/PythonAPI.h" #include "Surelog/CommandLine/CommandLineParser.h" diff --git a/src/Expression/ExprBuilder.cpp b/src/Expression/ExprBuilder.cpp index 38af48f1a2..7605561fd4 100644 --- a/src/Expression/ExprBuilder.cpp +++ b/src/Expression/ExprBuilder.cpp @@ -25,6 +25,7 @@ #include #include #include +#include #include "Surelog/Design/Design.h" #include "Surelog/Design/FileContent.h" diff --git a/src/Library/ParseLibraryDef.cpp b/src/Library/ParseLibraryDef.cpp index f0b16e5fe4..971bf4a540 100644 --- a/src/Library/ParseLibraryDef.cpp +++ b/src/Library/ParseLibraryDef.cpp @@ -27,6 +27,7 @@ #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/SourceCompile/AnalyzeFile.cpp b/src/SourceCompile/AnalyzeFile.cpp index 8598c53836..08c8fb28f7 100644 --- a/src/SourceCompile/AnalyzeFile.cpp +++ b/src/SourceCompile/AnalyzeFile.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/SourceCompile/CheckCompile.cpp b/src/SourceCompile/CheckCompile.cpp index 871dda4b35..76593219e2 100644 --- a/src/SourceCompile/CheckCompile.cpp +++ b/src/SourceCompile/CheckCompile.cpp @@ -24,6 +24,7 @@ #include "Surelog/SourceCompile/CheckCompile.h" #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/SourceCompile/CommonListenerHelper.cpp b/src/SourceCompile/CommonListenerHelper.cpp index 8d3f8c3880..a8ef4cb376 100644 --- a/src/SourceCompile/CommonListenerHelper.cpp +++ b/src/SourceCompile/CommonListenerHelper.cpp @@ -26,6 +26,7 @@ #include #include +#include #include "Surelog/Design/DesignElement.h" #include "Surelog/Design/FileContent.h" diff --git a/src/SourceCompile/CompilationUnit.cpp b/src/SourceCompile/CompilationUnit.cpp index f05d9bc0fd..51c26e0b70 100644 --- a/src/SourceCompile/CompilationUnit.cpp +++ b/src/SourceCompile/CompilationUnit.cpp @@ -23,6 +23,7 @@ #include "Surelog/SourceCompile/CompilationUnit.h" #include +#include namespace SURELOG { diff --git a/src/SourceCompile/CompileSourceFile.cpp b/src/SourceCompile/CompileSourceFile.cpp index cb261e5eec..c3ad5601f4 100644 --- a/src/SourceCompile/CompileSourceFile.cpp +++ b/src/SourceCompile/CompileSourceFile.cpp @@ -37,6 +37,7 @@ #include #include +#include #include "Surelog/API/PythonAPI.h" #include "Surelog/SourceCompile/PythonListen.h" diff --git a/src/SourceCompile/Compiler.cpp b/src/SourceCompile/Compiler.cpp index 6332fbb7d8..b4b1db1391 100644 --- a/src/SourceCompile/Compiler.cpp +++ b/src/SourceCompile/Compiler.cpp @@ -29,6 +29,7 @@ #include #include #include +#include #include "Surelog/API/PythonAPI.h" #include "Surelog/CommandLine/CommandLineParser.h" diff --git a/src/SourceCompile/LoopCheck.cpp b/src/SourceCompile/LoopCheck.cpp index 4b88989711..3ef53e2e14 100644 --- a/src/SourceCompile/LoopCheck.cpp +++ b/src/SourceCompile/LoopCheck.cpp @@ -24,6 +24,7 @@ #include "Surelog/SourceCompile/LoopCheck.h" #include +#include namespace SURELOG { diff --git a/src/SourceCompile/MacroInfo.cpp b/src/SourceCompile/MacroInfo.cpp index 35e2b150f3..23eb78793a 100644 --- a/src/SourceCompile/MacroInfo.cpp +++ b/src/SourceCompile/MacroInfo.cpp @@ -25,6 +25,7 @@ #include #include +#include namespace SURELOG { MacroInfo::MacroInfo(std::string_view name, int32_t type, PathId fileId, diff --git a/src/SourceCompile/ParseTreeListener.template.cxx b/src/SourceCompile/ParseTreeListener.template.cxx index 914316a105..905b70c6f6 100644 --- a/src/SourceCompile/ParseTreeListener.template.cxx +++ b/src/SourceCompile/ParseTreeListener.template.cxx @@ -23,6 +23,7 @@ * */ +#include #include #include #include diff --git a/src/SourceCompile/PreprocessFile.cpp b/src/SourceCompile/PreprocessFile.cpp index 2c158c6055..fa8cf54f9d 100644 --- a/src/SourceCompile/PreprocessFile.cpp +++ b/src/SourceCompile/PreprocessFile.cpp @@ -30,6 +30,7 @@ #include #include #include +#include #include "Surelog/Cache/PPCache.h" #include "Surelog/CommandLine/CommandLineParser.h" diff --git a/src/SourceCompile/SV3_1aPpTreeListenerHelper.cpp b/src/SourceCompile/SV3_1aPpTreeListenerHelper.cpp index 48c325b30f..5ecc6e9134 100644 --- a/src/SourceCompile/SV3_1aPpTreeListenerHelper.cpp +++ b/src/SourceCompile/SV3_1aPpTreeListenerHelper.cpp @@ -24,6 +24,7 @@ #include "Surelog/SourceCompile/SV3_1aPpTreeListenerHelper.h" #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/ErrorReporting/ErrorContainer.h" diff --git a/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp b/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp index b7a7bc5b03..39354ff30d 100644 --- a/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp +++ b/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp @@ -19,6 +19,7 @@ #include #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/SourceCompile/SV3_1aTreeShapeHelper.cpp b/src/SourceCompile/SV3_1aTreeShapeHelper.cpp index bb0dccd7ec..8b5633d6ae 100644 --- a/src/SourceCompile/SV3_1aTreeShapeHelper.cpp +++ b/src/SourceCompile/SV3_1aTreeShapeHelper.cpp @@ -25,6 +25,7 @@ #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Design/FileContent.h" diff --git a/src/SourceCompile/SV3_1aTreeShapeListener.cpp b/src/SourceCompile/SV3_1aTreeShapeListener.cpp index 3a4d44df46..60d0b0b61d 100644 --- a/src/SourceCompile/SV3_1aTreeShapeListener.cpp +++ b/src/SourceCompile/SV3_1aTreeShapeListener.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/Utils/ParseUtils.cpp b/src/Utils/ParseUtils.cpp index 283c1cda6b..a8dcfddf39 100644 --- a/src/Utils/ParseUtils.cpp +++ b/src/Utils/ParseUtils.cpp @@ -26,6 +26,7 @@ #include #include +#include namespace SURELOG { diff --git a/src/Utils/StringUtils.cpp b/src/Utils/StringUtils.cpp index 13a7e93d65..80922f3a83 100644 --- a/src/Utils/StringUtils.cpp +++ b/src/Utils/StringUtils.cpp @@ -32,6 +32,7 @@ #include #include #include +#include namespace SURELOG { diff --git a/src/Utils/StringUtils_test.cpp b/src/Utils/StringUtils_test.cpp index 8f934b5357..ce1bd320e0 100644 --- a/src/Utils/StringUtils_test.cpp +++ b/src/Utils/StringUtils_test.cpp @@ -22,6 +22,7 @@ #include #include +#include namespace SURELOG { using ::testing::ElementsAre; From a58a7f0dcc6d0fb5fd46c87c1db6dfcf9a1e4ddc Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Fri, 8 Nov 2024 20:58:53 -0800 Subject: [PATCH 4/8] Include `` for files needing it (e.g. using std::pair) --- include/Surelog/CommandLine/CommandLineParser.h | 1 + include/Surelog/Common/FileSystem.h | 1 + include/Surelog/Common/PlatformFileSystem.h | 1 + include/Surelog/Design/Design.h | 1 + include/Surelog/Design/DesignComponent.h | 1 + include/Surelog/Design/Enum.h | 1 + include/Surelog/Design/Netlist.h | 1 + include/Surelog/Design/Statement.h | 1 + include/Surelog/Design/ValuedComponentI.h | 1 + include/Surelog/DesignCompile/CompileHelper.h | 1 + include/Surelog/DesignCompile/DesignElaboration.h | 1 + include/Surelog/DesignCompile/UhdmChecker.h | 1 + include/Surelog/ErrorReporting/ErrorContainer.h | 1 + include/Surelog/SourceCompile/PreprocessFile.h | 1 + include/Surelog/SourceCompile/SV3_1aTreeShapeHelper.h | 1 + include/Surelog/Testbench/ClassObject.h | 1 + include/Surelog/Utils/ParseUtils.h | 1 + src/CommandLine/CommandLineParser.cpp | 1 + src/Common/PlatformFileSystem.cpp | 1 + src/Common/PlatformFileSystem_test.cpp | 1 + src/DesignCompile/CompileClass.cpp | 1 + src/DesignCompile/CompileExpression.cpp | 1 + src/DesignCompile/CompileHelper.cpp | 1 + src/DesignCompile/CompileModule.cpp | 1 + src/DesignCompile/CompileStmt.cpp | 1 + src/DesignCompile/DesignElaboration.cpp | 1 + src/DesignCompile/ElaborationStep.cpp | 1 + src/DesignCompile/UhdmWriter.cpp | 1 + src/ErrorReporting/ErrorContainer.cpp | 1 + src/ErrorReporting/Report.cpp | 1 + src/SourceCompile/PreprocessFile.cpp | 1 + src/SourceCompile/SV3_1aTreeShapeHelper.cpp | 1 + src/main.cpp | 1 + src/roundtrip.cpp | 1 + 34 files changed, 34 insertions(+) diff --git a/include/Surelog/CommandLine/CommandLineParser.h b/include/Surelog/CommandLine/CommandLineParser.h index 089ccdb7fc..6eea74cf7e 100644 --- a/include/Surelog/CommandLine/CommandLineParser.h +++ b/include/Surelog/CommandLine/CommandLineParser.h @@ -25,6 +25,7 @@ #define SURELOG_COMMANDLINEPARSER_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Common/FileSystem.h b/include/Surelog/Common/FileSystem.h index 47cfc868e4..76880b658e 100644 --- a/include/Surelog/Common/FileSystem.h +++ b/include/Surelog/Common/FileSystem.h @@ -25,6 +25,7 @@ #define SURELOG_FILESYSTEM_H #pragma once +#include #include #include diff --git a/include/Surelog/Common/PlatformFileSystem.h b/include/Surelog/Common/PlatformFileSystem.h index a051cf5be9..9aedd52174 100644 --- a/include/Surelog/Common/PlatformFileSystem.h +++ b/include/Surelog/Common/PlatformFileSystem.h @@ -25,6 +25,7 @@ #define SURELOG_PLATFORMFILESYSTEM_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/Design.h b/include/Surelog/Design/Design.h index 49761339a1..4f9d054ae1 100644 --- a/include/Surelog/Design/Design.h +++ b/include/Surelog/Design/Design.h @@ -25,6 +25,7 @@ #define SURELOG_DESIGN_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/DesignComponent.h b/include/Surelog/Design/DesignComponent.h index 4b6f13deaf..af294b313e 100644 --- a/include/Surelog/Design/DesignComponent.h +++ b/include/Surelog/Design/DesignComponent.h @@ -25,6 +25,7 @@ #define SURELOG_DESIGNCOMPONENT_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/Enum.h b/include/Surelog/Design/Enum.h index b17f0b74fc..a9d160b4b3 100644 --- a/include/Surelog/Design/Enum.h +++ b/include/Surelog/Design/Enum.h @@ -25,6 +25,7 @@ #define SURELOG_ENUM_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/Netlist.h b/include/Surelog/Design/Netlist.h index f189314104..b3eef3b7fa 100644 --- a/include/Surelog/Design/Netlist.h +++ b/include/Surelog/Design/Netlist.h @@ -26,6 +26,7 @@ #pragma once // UHDM +#include #include #include diff --git a/include/Surelog/Design/Statement.h b/include/Surelog/Design/Statement.h index db8a215821..9dff298a45 100644 --- a/include/Surelog/Design/Statement.h +++ b/include/Surelog/Design/Statement.h @@ -25,6 +25,7 @@ #define SURELOG_STATEMENT_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/ValuedComponentI.h b/include/Surelog/Design/ValuedComponentI.h index 0f53dab88b..9b6b175363 100644 --- a/include/Surelog/Design/ValuedComponentI.h +++ b/include/Surelog/Design/ValuedComponentI.h @@ -25,6 +25,7 @@ #define SURELOG_VALUEDCOMPONENTI_H #pragma once +#include #include #include diff --git a/include/Surelog/DesignCompile/CompileHelper.h b/include/Surelog/DesignCompile/CompileHelper.h index 4313b4ab49..461830ba62 100644 --- a/include/Surelog/DesignCompile/CompileHelper.h +++ b/include/Surelog/DesignCompile/CompileHelper.h @@ -25,6 +25,7 @@ #define SURELOG_COMPILEHELPER_H #pragma once +#include #include #include #include diff --git a/include/Surelog/DesignCompile/DesignElaboration.h b/include/Surelog/DesignCompile/DesignElaboration.h index c654cbbec0..2ef3d0b9d4 100644 --- a/include/Surelog/DesignCompile/DesignElaboration.h +++ b/include/Surelog/DesignCompile/DesignElaboration.h @@ -25,6 +25,7 @@ #define SURELOG_DESIGNELABORATION_H #pragma once +#include #include #include #include diff --git a/include/Surelog/DesignCompile/UhdmChecker.h b/include/Surelog/DesignCompile/UhdmChecker.h index f5292df5ed..7ee487a538 100644 --- a/include/Surelog/DesignCompile/UhdmChecker.h +++ b/include/Surelog/DesignCompile/UhdmChecker.h @@ -25,6 +25,7 @@ #define SURELOG_UHDMCHECKER_H #pragma once +#include #include #include diff --git a/include/Surelog/ErrorReporting/ErrorContainer.h b/include/Surelog/ErrorReporting/ErrorContainer.h index ef5f552cf0..c6b503e2d8 100644 --- a/include/Surelog/ErrorReporting/ErrorContainer.h +++ b/include/Surelog/ErrorReporting/ErrorContainer.h @@ -25,6 +25,7 @@ #define SURELOG_ERRORCONTAINER_H #pragma once +#include #include #include diff --git a/include/Surelog/SourceCompile/PreprocessFile.h b/include/Surelog/SourceCompile/PreprocessFile.h index ebdb891642..a5495b3ac3 100644 --- a/include/Surelog/SourceCompile/PreprocessFile.h +++ b/include/Surelog/SourceCompile/PreprocessFile.h @@ -25,6 +25,7 @@ #define SURELOG_PREPROCESSFILE_H #pragma once +#include #include #include #include diff --git a/include/Surelog/SourceCompile/SV3_1aTreeShapeHelper.h b/include/Surelog/SourceCompile/SV3_1aTreeShapeHelper.h index 68e566e2c4..0e08b96b42 100644 --- a/include/Surelog/SourceCompile/SV3_1aTreeShapeHelper.h +++ b/include/Surelog/SourceCompile/SV3_1aTreeShapeHelper.h @@ -25,6 +25,7 @@ #define SURELOG_SV3_1ATREESHAPEHELPER_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Testbench/ClassObject.h b/include/Surelog/Testbench/ClassObject.h index 5e87347bf7..ae5f43fe8a 100644 --- a/include/Surelog/Testbench/ClassObject.h +++ b/include/Surelog/Testbench/ClassObject.h @@ -25,6 +25,7 @@ #define SURELOG_CLASSOBJECT_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Utils/ParseUtils.h b/include/Surelog/Utils/ParseUtils.h index 1ad5fee907..78a1e555a9 100644 --- a/include/Surelog/Utils/ParseUtils.h +++ b/include/Surelog/Utils/ParseUtils.h @@ -25,6 +25,7 @@ #define SURELOG_PARSEUTILS_H #pragma once +#include #include #include #include diff --git a/src/CommandLine/CommandLineParser.cpp b/src/CommandLine/CommandLineParser.cpp index 6fdc24ec29..52a256cc2f 100644 --- a/src/CommandLine/CommandLineParser.cpp +++ b/src/CommandLine/CommandLineParser.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include #include "Surelog/API/PythonAPI.h" diff --git a/src/Common/PlatformFileSystem.cpp b/src/Common/PlatformFileSystem.cpp index be23a51b3c..c151a66431 100644 --- a/src/Common/PlatformFileSystem.cpp +++ b/src/Common/PlatformFileSystem.cpp @@ -29,6 +29,7 @@ #include #include #include +#include #include #include "Surelog/SourceCompile/SymbolTable.h" diff --git a/src/Common/PlatformFileSystem_test.cpp b/src/Common/PlatformFileSystem_test.cpp index 8280197300..332b5a013f 100644 --- a/src/Common/PlatformFileSystem_test.cpp +++ b/src/Common/PlatformFileSystem_test.cpp @@ -26,6 +26,7 @@ #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Design/Design.h" diff --git a/src/DesignCompile/CompileClass.cpp b/src/DesignCompile/CompileClass.cpp index 6b35468359..4742ca65c2 100644 --- a/src/DesignCompile/CompileClass.cpp +++ b/src/DesignCompile/CompileClass.cpp @@ -43,6 +43,7 @@ #include #include #include +#include #include namespace SURELOG { diff --git a/src/DesignCompile/CompileExpression.cpp b/src/DesignCompile/CompileExpression.cpp index 91fa0626a9..81af2cfc07 100644 --- a/src/DesignCompile/CompileExpression.cpp +++ b/src/DesignCompile/CompileExpression.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include #include "Surelog/CommandLine/CommandLineParser.h" diff --git a/src/DesignCompile/CompileHelper.cpp b/src/DesignCompile/CompileHelper.cpp index 365b570cf1..701e0aa41d 100644 --- a/src/DesignCompile/CompileHelper.cpp +++ b/src/DesignCompile/CompileHelper.cpp @@ -67,6 +67,7 @@ #include #include #include +#include #include namespace SURELOG { diff --git a/src/DesignCompile/CompileModule.cpp b/src/DesignCompile/CompileModule.cpp index 2c8d5a1b79..0f90341662 100644 --- a/src/DesignCompile/CompileModule.cpp +++ b/src/DesignCompile/CompileModule.cpp @@ -51,6 +51,7 @@ #include #include #include +#include #include namespace SURELOG { diff --git a/src/DesignCompile/CompileStmt.cpp b/src/DesignCompile/CompileStmt.cpp index ef3cf4b5d9..20eabfccb3 100644 --- a/src/DesignCompile/CompileStmt.cpp +++ b/src/DesignCompile/CompileStmt.cpp @@ -56,6 +56,7 @@ #include #include #include +#include #include namespace SURELOG { diff --git a/src/DesignCompile/DesignElaboration.cpp b/src/DesignCompile/DesignElaboration.cpp index 60ba9a9fb9..4adbc5434b 100644 --- a/src/DesignCompile/DesignElaboration.cpp +++ b/src/DesignCompile/DesignElaboration.cpp @@ -54,6 +54,7 @@ #include #include #include +#include #include namespace SURELOG { diff --git a/src/DesignCompile/ElaborationStep.cpp b/src/DesignCompile/ElaborationStep.cpp index 87f33a634d..16d916b27c 100644 --- a/src/DesignCompile/ElaborationStep.cpp +++ b/src/DesignCompile/ElaborationStep.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include #include "Surelog/CommandLine/CommandLineParser.h" diff --git a/src/DesignCompile/UhdmWriter.cpp b/src/DesignCompile/UhdmWriter.cpp index 4666c9de56..81f1efd3d4 100644 --- a/src/DesignCompile/UhdmWriter.cpp +++ b/src/DesignCompile/UhdmWriter.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include #include "Surelog/CommandLine/CommandLineParser.h" diff --git a/src/ErrorReporting/ErrorContainer.cpp b/src/ErrorReporting/ErrorContainer.cpp index 77859781f4..408e1a4271 100644 --- a/src/ErrorReporting/ErrorContainer.cpp +++ b/src/ErrorReporting/ErrorContainer.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include #include "Surelog/API/PythonAPI.h" diff --git a/src/ErrorReporting/Report.cpp b/src/ErrorReporting/Report.cpp index dc7acbb999..1a679d15b4 100644 --- a/src/ErrorReporting/Report.cpp +++ b/src/ErrorReporting/Report.cpp @@ -30,6 +30,7 @@ #include #include #include +#include #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" diff --git a/src/SourceCompile/PreprocessFile.cpp b/src/SourceCompile/PreprocessFile.cpp index fa8cf54f9d..3bbd88f485 100644 --- a/src/SourceCompile/PreprocessFile.cpp +++ b/src/SourceCompile/PreprocessFile.cpp @@ -30,6 +30,7 @@ #include #include #include +#include #include #include "Surelog/Cache/PPCache.h" diff --git a/src/SourceCompile/SV3_1aTreeShapeHelper.cpp b/src/SourceCompile/SV3_1aTreeShapeHelper.cpp index 8b5633d6ae..2ef1129815 100644 --- a/src/SourceCompile/SV3_1aTreeShapeHelper.cpp +++ b/src/SourceCompile/SV3_1aTreeShapeHelper.cpp @@ -25,6 +25,7 @@ #include #include +#include #include #include "Surelog/CommandLine/CommandLineParser.h" diff --git a/src/main.cpp b/src/main.cpp index 90dc108754..bf4aa6dfd2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -26,6 +26,7 @@ #include #include +#include #else #include #include diff --git a/src/roundtrip.cpp b/src/roundtrip.cpp index c763890782..5f6767b137 100644 --- a/src/roundtrip.cpp +++ b/src/roundtrip.cpp @@ -40,6 +40,7 @@ #include #include #include +#include #include #include "Surelog/API/Surelog.h" From 31ca1287fb412737edd4864d23050babd873f882 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Fri, 8 Nov 2024 21:00:14 -0800 Subject: [PATCH 5/8] Add `` header for files using std::map --- include/Surelog/Design/DesignComponent.h | 1 + include/Surelog/Design/FileContent.h | 1 + include/Surelog/Design/ModuleDefinition.h | 1 + include/Surelog/Design/ModuleInstance.h | 1 + include/Surelog/DesignCompile/CompileDesign.h | 1 + include/Surelog/DesignCompile/DesignElaboration.h | 1 + include/Surelog/DesignCompile/ElaborationStep.h | 1 + include/Surelog/DesignCompile/NetlistElaboration.h | 1 + include/Surelog/DesignCompile/UhdmWriter.h | 1 + include/Surelog/Testbench/ClassDefinition.h | 1 + src/CommandLine/CommandLineParser.cpp | 1 + src/DesignCompile/CompileDesign.cpp | 1 + src/DesignCompile/CompileHelper.cpp | 1 + src/DesignCompile/CompileStmt.cpp | 1 + src/DesignCompile/ElaborationStep.cpp | 1 + src/DesignCompile/NetlistElaboration.cpp | 1 + src/DesignCompile/UhdmWriter.cpp | 1 + src/ErrorReporting/ErrorContainer.cpp | 1 + src/Library/LibrarySet.cpp | 1 + src/SourceCompile/Compiler.cpp | 1 + src/SourceCompile/LoopCheck.cpp | 1 + 21 files changed, 21 insertions(+) diff --git a/include/Surelog/Design/DesignComponent.h b/include/Surelog/Design/DesignComponent.h index af294b313e..bdc5134d04 100644 --- a/include/Surelog/Design/DesignComponent.h +++ b/include/Surelog/Design/DesignComponent.h @@ -25,6 +25,7 @@ #define SURELOG_DESIGNCOMPONENT_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/FileContent.h b/include/Surelog/Design/FileContent.h index 1cbf9313ce..cb3e9eaa38 100644 --- a/include/Surelog/Design/FileContent.h +++ b/include/Surelog/Design/FileContent.h @@ -25,6 +25,7 @@ #define SURELOG_FILECONTENT_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/ModuleDefinition.h b/include/Surelog/Design/ModuleDefinition.h index 81810cae5f..8790ae6958 100644 --- a/include/Surelog/Design/ModuleDefinition.h +++ b/include/Surelog/Design/ModuleDefinition.h @@ -25,6 +25,7 @@ #define SURELOG_MODULEDEFINITION_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/ModuleInstance.h b/include/Surelog/Design/ModuleInstance.h index 0ff5c0278a..f10139982e 100644 --- a/include/Surelog/Design/ModuleInstance.h +++ b/include/Surelog/Design/ModuleInstance.h @@ -25,6 +25,7 @@ #define SURELOG_MODULEINSTANCE_H #pragma once +#include #include #include #include diff --git a/include/Surelog/DesignCompile/CompileDesign.h b/include/Surelog/DesignCompile/CompileDesign.h index 855880864c..b645d45320 100644 --- a/include/Surelog/DesignCompile/CompileDesign.h +++ b/include/Surelog/DesignCompile/CompileDesign.h @@ -25,6 +25,7 @@ #define SURELOG_COMPILEDESIGN_H #pragma once +#include #include #include diff --git a/include/Surelog/DesignCompile/DesignElaboration.h b/include/Surelog/DesignCompile/DesignElaboration.h index 2ef3d0b9d4..a31da39ced 100644 --- a/include/Surelog/DesignCompile/DesignElaboration.h +++ b/include/Surelog/DesignCompile/DesignElaboration.h @@ -25,6 +25,7 @@ #define SURELOG_DESIGNELABORATION_H #pragma once +#include #include #include #include diff --git a/include/Surelog/DesignCompile/ElaborationStep.h b/include/Surelog/DesignCompile/ElaborationStep.h index a242b4859d..97ebee70e0 100644 --- a/include/Surelog/DesignCompile/ElaborationStep.h +++ b/include/Surelog/DesignCompile/ElaborationStep.h @@ -25,6 +25,7 @@ #define SURELOG_ELABORATIONSTEP_H #pragma once +#include #include #include #include diff --git a/include/Surelog/DesignCompile/NetlistElaboration.h b/include/Surelog/DesignCompile/NetlistElaboration.h index 2d33d496f3..1969fcffbb 100644 --- a/include/Surelog/DesignCompile/NetlistElaboration.h +++ b/include/Surelog/DesignCompile/NetlistElaboration.h @@ -25,6 +25,7 @@ #define SURELOG_NETLISTELABORATION_H #pragma once +#include #include #include diff --git a/include/Surelog/DesignCompile/UhdmWriter.h b/include/Surelog/DesignCompile/UhdmWriter.h index d6cdbd4afa..3c0281056f 100644 --- a/include/Surelog/DesignCompile/UhdmWriter.h +++ b/include/Surelog/DesignCompile/UhdmWriter.h @@ -25,6 +25,7 @@ #define SURELOG_UHDMWRITER_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Testbench/ClassDefinition.h b/include/Surelog/Testbench/ClassDefinition.h index 7208f0e91f..7efce7e6c0 100644 --- a/include/Surelog/Testbench/ClassDefinition.h +++ b/include/Surelog/Testbench/ClassDefinition.h @@ -25,6 +25,7 @@ #define SURELOG_CLASSDEFINITION_H #pragma once +#include #include #include #include diff --git a/src/CommandLine/CommandLineParser.cpp b/src/CommandLine/CommandLineParser.cpp index 52a256cc2f..0d8cf400c4 100644 --- a/src/CommandLine/CommandLineParser.cpp +++ b/src/CommandLine/CommandLineParser.cpp @@ -23,6 +23,7 @@ #include "Surelog/CommandLine/CommandLineParser.h" +#include #include #include #include diff --git a/src/DesignCompile/CompileDesign.cpp b/src/DesignCompile/CompileDesign.cpp index 977e9985dd..da5059f58a 100644 --- a/src/DesignCompile/CompileDesign.cpp +++ b/src/DesignCompile/CompileDesign.cpp @@ -55,6 +55,7 @@ #include #include +#include #include #include #include diff --git a/src/DesignCompile/CompileHelper.cpp b/src/DesignCompile/CompileHelper.cpp index 701e0aa41d..2e73e4ac56 100644 --- a/src/DesignCompile/CompileHelper.cpp +++ b/src/DesignCompile/CompileHelper.cpp @@ -65,6 +65,7 @@ #include #include #include +#include #include #include #include diff --git a/src/DesignCompile/CompileStmt.cpp b/src/DesignCompile/CompileStmt.cpp index 20eabfccb3..9e043ad848 100644 --- a/src/DesignCompile/CompileStmt.cpp +++ b/src/DesignCompile/CompileStmt.cpp @@ -54,6 +54,7 @@ #include #include +#include #include #include #include diff --git a/src/DesignCompile/ElaborationStep.cpp b/src/DesignCompile/ElaborationStep.cpp index 16d916b27c..b964a8a0e2 100644 --- a/src/DesignCompile/ElaborationStep.cpp +++ b/src/DesignCompile/ElaborationStep.cpp @@ -24,6 +24,7 @@ #include "Surelog/DesignCompile/ElaborationStep.h" #include +#include #include #include #include diff --git a/src/DesignCompile/NetlistElaboration.cpp b/src/DesignCompile/NetlistElaboration.cpp index 3a4e37a476..aadea3a309 100644 --- a/src/DesignCompile/NetlistElaboration.cpp +++ b/src/DesignCompile/NetlistElaboration.cpp @@ -24,6 +24,7 @@ #include "Surelog/DesignCompile/NetlistElaboration.h" #include +#include #include #include diff --git a/src/DesignCompile/UhdmWriter.cpp b/src/DesignCompile/UhdmWriter.cpp index 81f1efd3d4..24f48e7d82 100644 --- a/src/DesignCompile/UhdmWriter.cpp +++ b/src/DesignCompile/UhdmWriter.cpp @@ -24,6 +24,7 @@ #include "Surelog/DesignCompile/UhdmWriter.h" #include +#include #include #include #include diff --git a/src/ErrorReporting/ErrorContainer.cpp b/src/ErrorReporting/ErrorContainer.cpp index 408e1a4271..8fc33c5f08 100644 --- a/src/ErrorReporting/ErrorContainer.cpp +++ b/src/ErrorReporting/ErrorContainer.cpp @@ -25,6 +25,7 @@ #include #include +#include #include #include #include diff --git a/src/Library/LibrarySet.cpp b/src/Library/LibrarySet.cpp index 8b4ee04c76..dbbfe73123 100644 --- a/src/Library/LibrarySet.cpp +++ b/src/Library/LibrarySet.cpp @@ -23,6 +23,7 @@ #include "Surelog/Library/LibrarySet.h" +#include #include #include #include diff --git a/src/SourceCompile/Compiler.cpp b/src/SourceCompile/Compiler.cpp index b4b1db1391..67f4acaf14 100644 --- a/src/SourceCompile/Compiler.cpp +++ b/src/SourceCompile/Compiler.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include diff --git a/src/SourceCompile/LoopCheck.cpp b/src/SourceCompile/LoopCheck.cpp index 3ef53e2e14..2beac5b034 100644 --- a/src/SourceCompile/LoopCheck.cpp +++ b/src/SourceCompile/LoopCheck.cpp @@ -23,6 +23,7 @@ #include "Surelog/SourceCompile/LoopCheck.h" +#include #include #include From c821d93133aa1f4e7fde988782c2125986fd64ea Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Fri, 8 Nov 2024 21:01:18 -0800 Subject: [PATCH 6/8] Include `` for files using std::set --- include/Surelog/Common/FileSystem.h | 1 + include/Surelog/Design/FileContent.h | 1 + include/Surelog/Design/ModuleInstance.h | 1 + include/Surelog/DesignCompile/CompileClass.h | 1 + include/Surelog/DesignCompile/DesignElaboration.h | 1 + src/Common/PlatformFileSystem.cpp | 1 + src/Common/PlatformFileSystem_test.cpp | 1 + src/DesignCompile/CompileExpression.cpp | 1 + src/DesignCompile/DesignElaboration.cpp | 1 + src/DesignCompile/NetlistElaboration.cpp | 1 + src/DesignCompile/UhdmChecker.cpp | 1 + src/DesignCompile/UhdmWriter.cpp | 1 + src/ErrorReporting/Waiver.cpp | 1 + src/SourceCompile/PreprocessFile.cpp | 1 + src/SourceCompile/SV3_1aPpTreeShapeListener.cpp | 1 + 15 files changed, 15 insertions(+) diff --git a/include/Surelog/Common/FileSystem.h b/include/Surelog/Common/FileSystem.h index 76880b658e..8975c9cb37 100644 --- a/include/Surelog/Common/FileSystem.h +++ b/include/Surelog/Common/FileSystem.h @@ -25,6 +25,7 @@ #define SURELOG_FILESYSTEM_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/FileContent.h b/include/Surelog/Design/FileContent.h index cb3e9eaa38..a4fee33e2d 100644 --- a/include/Surelog/Design/FileContent.h +++ b/include/Surelog/Design/FileContent.h @@ -25,6 +25,7 @@ #define SURELOG_FILECONTENT_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/ModuleInstance.h b/include/Surelog/Design/ModuleInstance.h index f10139982e..b1a5dbf2d1 100644 --- a/include/Surelog/Design/ModuleInstance.h +++ b/include/Surelog/Design/ModuleInstance.h @@ -25,6 +25,7 @@ #define SURELOG_MODULEINSTANCE_H #pragma once +#include #include #include #include diff --git a/include/Surelog/DesignCompile/CompileClass.h b/include/Surelog/DesignCompile/CompileClass.h index c9e2db19ad..7582c5a59b 100644 --- a/include/Surelog/DesignCompile/CompileClass.h +++ b/include/Surelog/DesignCompile/CompileClass.h @@ -25,6 +25,7 @@ #define SURELOG_COMPILECLASS_H #pragma once +#include #include #include #include diff --git a/include/Surelog/DesignCompile/DesignElaboration.h b/include/Surelog/DesignCompile/DesignElaboration.h index a31da39ced..64cc9240c0 100644 --- a/include/Surelog/DesignCompile/DesignElaboration.h +++ b/include/Surelog/DesignCompile/DesignElaboration.h @@ -25,6 +25,7 @@ #define SURELOG_DESIGNELABORATION_H #pragma once +#include #include #include #include diff --git a/src/Common/PlatformFileSystem.cpp b/src/Common/PlatformFileSystem.cpp index c151a66431..2d1f6d0f69 100644 --- a/src/Common/PlatformFileSystem.cpp +++ b/src/Common/PlatformFileSystem.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include diff --git a/src/Common/PlatformFileSystem_test.cpp b/src/Common/PlatformFileSystem_test.cpp index 332b5a013f..25b8ebe920 100644 --- a/src/Common/PlatformFileSystem_test.cpp +++ b/src/Common/PlatformFileSystem_test.cpp @@ -25,6 +25,7 @@ #include +#include #include #include diff --git a/src/DesignCompile/CompileExpression.cpp b/src/DesignCompile/CompileExpression.cpp index 81af2cfc07..6e5f1ec704 100644 --- a/src/DesignCompile/CompileExpression.cpp +++ b/src/DesignCompile/CompileExpression.cpp @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/src/DesignCompile/DesignElaboration.cpp b/src/DesignCompile/DesignElaboration.cpp index 4adbc5434b..6721e4f159 100644 --- a/src/DesignCompile/DesignElaboration.cpp +++ b/src/DesignCompile/DesignElaboration.cpp @@ -52,6 +52,7 @@ #include #include +#include #include #include #include diff --git a/src/DesignCompile/NetlistElaboration.cpp b/src/DesignCompile/NetlistElaboration.cpp index aadea3a309..cab04719ba 100644 --- a/src/DesignCompile/NetlistElaboration.cpp +++ b/src/DesignCompile/NetlistElaboration.cpp @@ -25,6 +25,7 @@ #include #include +#include #include #include diff --git a/src/DesignCompile/UhdmChecker.cpp b/src/DesignCompile/UhdmChecker.cpp index 7acc3fa36d..6ad6c05230 100644 --- a/src/DesignCompile/UhdmChecker.cpp +++ b/src/DesignCompile/UhdmChecker.cpp @@ -41,6 +41,7 @@ #include #include +#include #include #include #include diff --git a/src/DesignCompile/UhdmWriter.cpp b/src/DesignCompile/UhdmWriter.cpp index 24f48e7d82..dc70f5590a 100644 --- a/src/DesignCompile/UhdmWriter.cpp +++ b/src/DesignCompile/UhdmWriter.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include diff --git a/src/ErrorReporting/Waiver.cpp b/src/ErrorReporting/Waiver.cpp index 1cd2e791cf..c0cd0fdf23 100644 --- a/src/ErrorReporting/Waiver.cpp +++ b/src/ErrorReporting/Waiver.cpp @@ -23,6 +23,7 @@ #include "Surelog/ErrorReporting/Waiver.h" +#include #include #include diff --git a/src/SourceCompile/PreprocessFile.cpp b/src/SourceCompile/PreprocessFile.cpp index 3bbd88f485..4d7cbbc2b1 100644 --- a/src/SourceCompile/PreprocessFile.cpp +++ b/src/SourceCompile/PreprocessFile.cpp @@ -29,6 +29,7 @@ #include #include +#include #include #include #include diff --git a/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp b/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp index 39354ff30d..767c1c94ac 100644 --- a/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp +++ b/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp @@ -17,6 +17,7 @@ #include "Surelog/SourceCompile/SV3_1aPpTreeShapeListener.h" #include +#include #include #include #include From 1768436871350c536f779f994449a0a78de4bbec Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Fri, 8 Nov 2024 21:09:24 -0800 Subject: [PATCH 7/8] Include `` for files using std::less --- include/Surelog/CommandLine/CommandLineParser.h | 1 + include/Surelog/Common/FileSystem.h | 1 + include/Surelog/Common/PlatformFileSystem.h | 1 + include/Surelog/Design/Design.h | 1 + include/Surelog/Design/DesignComponent.h | 1 + include/Surelog/Design/Enum.h | 1 + include/Surelog/Design/FileContent.h | 1 + include/Surelog/Design/ModuleDefinition.h | 1 + include/Surelog/Design/Netlist.h | 1 + include/Surelog/Design/Scope.h | 1 + include/Surelog/DesignCompile/DesignElaboration.h | 1 + include/Surelog/DesignCompile/UhdmWriter.h | 1 + include/Surelog/ErrorReporting/Waiver.h | 1 + include/Surelog/Package/Precompiled.h | 1 + include/Surelog/Testbench/ClassObject.h | 1 + src/DesignCompile/CompileHelper.cpp | 1 + src/DesignCompile/CompileStmt.cpp | 1 + src/DesignCompile/DesignElaboration.cpp | 1 + src/DesignCompile/ElaborationStep.cpp | 1 + src/ErrorReporting/Waiver.cpp | 1 + src/SourceCompile/PreprocessFile.cpp | 1 + 21 files changed, 21 insertions(+) diff --git a/include/Surelog/CommandLine/CommandLineParser.h b/include/Surelog/CommandLine/CommandLineParser.h index 6eea74cf7e..9861b4ab74 100644 --- a/include/Surelog/CommandLine/CommandLineParser.h +++ b/include/Surelog/CommandLine/CommandLineParser.h @@ -25,6 +25,7 @@ #define SURELOG_COMMANDLINEPARSER_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Common/FileSystem.h b/include/Surelog/Common/FileSystem.h index 8975c9cb37..dfbde3361c 100644 --- a/include/Surelog/Common/FileSystem.h +++ b/include/Surelog/Common/FileSystem.h @@ -25,6 +25,7 @@ #define SURELOG_FILESYSTEM_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Common/PlatformFileSystem.h b/include/Surelog/Common/PlatformFileSystem.h index 9aedd52174..635d7a1a2a 100644 --- a/include/Surelog/Common/PlatformFileSystem.h +++ b/include/Surelog/Common/PlatformFileSystem.h @@ -25,6 +25,7 @@ #define SURELOG_PLATFORMFILESYSTEM_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/Design.h b/include/Surelog/Design/Design.h index 4f9d054ae1..41354248c1 100644 --- a/include/Surelog/Design/Design.h +++ b/include/Surelog/Design/Design.h @@ -25,6 +25,7 @@ #define SURELOG_DESIGN_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/DesignComponent.h b/include/Surelog/Design/DesignComponent.h index bdc5134d04..c3ea8b716c 100644 --- a/include/Surelog/Design/DesignComponent.h +++ b/include/Surelog/Design/DesignComponent.h @@ -25,6 +25,7 @@ #define SURELOG_DESIGNCOMPONENT_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/Enum.h b/include/Surelog/Design/Enum.h index a9d160b4b3..b52c15ccda 100644 --- a/include/Surelog/Design/Enum.h +++ b/include/Surelog/Design/Enum.h @@ -25,6 +25,7 @@ #define SURELOG_ENUM_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/FileContent.h b/include/Surelog/Design/FileContent.h index a4fee33e2d..9759729e0d 100644 --- a/include/Surelog/Design/FileContent.h +++ b/include/Surelog/Design/FileContent.h @@ -25,6 +25,7 @@ #define SURELOG_FILECONTENT_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/ModuleDefinition.h b/include/Surelog/Design/ModuleDefinition.h index 8790ae6958..12a4eacbab 100644 --- a/include/Surelog/Design/ModuleDefinition.h +++ b/include/Surelog/Design/ModuleDefinition.h @@ -25,6 +25,7 @@ #define SURELOG_MODULEDEFINITION_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/Netlist.h b/include/Surelog/Design/Netlist.h index b3eef3b7fa..150f37441c 100644 --- a/include/Surelog/Design/Netlist.h +++ b/include/Surelog/Design/Netlist.h @@ -26,6 +26,7 @@ #pragma once // UHDM +#include #include #include diff --git a/include/Surelog/Design/Scope.h b/include/Surelog/Design/Scope.h index 1b5d3c714c..e13d41a7ef 100644 --- a/include/Surelog/Design/Scope.h +++ b/include/Surelog/Design/Scope.h @@ -25,6 +25,7 @@ #define SURELOG_SCOPE_H #pragma once +#include #include #include diff --git a/include/Surelog/DesignCompile/DesignElaboration.h b/include/Surelog/DesignCompile/DesignElaboration.h index 64cc9240c0..e7a51de1b5 100644 --- a/include/Surelog/DesignCompile/DesignElaboration.h +++ b/include/Surelog/DesignCompile/DesignElaboration.h @@ -25,6 +25,7 @@ #define SURELOG_DESIGNELABORATION_H #pragma once +#include #include #include #include diff --git a/include/Surelog/DesignCompile/UhdmWriter.h b/include/Surelog/DesignCompile/UhdmWriter.h index 3c0281056f..90d4298874 100644 --- a/include/Surelog/DesignCompile/UhdmWriter.h +++ b/include/Surelog/DesignCompile/UhdmWriter.h @@ -25,6 +25,7 @@ #define SURELOG_UHDMWRITER_H #pragma once +#include #include #include #include diff --git a/include/Surelog/ErrorReporting/Waiver.h b/include/Surelog/ErrorReporting/Waiver.h index 89c346f05d..fd9cf14d5d 100644 --- a/include/Surelog/ErrorReporting/Waiver.h +++ b/include/Surelog/ErrorReporting/Waiver.h @@ -25,6 +25,7 @@ #define SURELOG_WAIVER_H #pragma once +#include #include #include diff --git a/include/Surelog/Package/Precompiled.h b/include/Surelog/Package/Precompiled.h index 5345834760..5400977877 100644 --- a/include/Surelog/Package/Precompiled.h +++ b/include/Surelog/Package/Precompiled.h @@ -25,6 +25,7 @@ #define SURELOG_PRECOMPILED_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Testbench/ClassObject.h b/include/Surelog/Testbench/ClassObject.h index ae5f43fe8a..8e0999d9c9 100644 --- a/include/Surelog/Testbench/ClassObject.h +++ b/include/Surelog/Testbench/ClassObject.h @@ -25,6 +25,7 @@ #define SURELOG_CLASSOBJECT_H #pragma once +#include #include #include #include diff --git a/src/DesignCompile/CompileHelper.cpp b/src/DesignCompile/CompileHelper.cpp index 2e73e4ac56..e7a4042454 100644 --- a/src/DesignCompile/CompileHelper.cpp +++ b/src/DesignCompile/CompileHelper.cpp @@ -64,6 +64,7 @@ #include #include +#include #include #include #include diff --git a/src/DesignCompile/CompileStmt.cpp b/src/DesignCompile/CompileStmt.cpp index 9e043ad848..318cd10c06 100644 --- a/src/DesignCompile/CompileStmt.cpp +++ b/src/DesignCompile/CompileStmt.cpp @@ -53,6 +53,7 @@ #include #include +#include #include #include #include diff --git a/src/DesignCompile/DesignElaboration.cpp b/src/DesignCompile/DesignElaboration.cpp index 6721e4f159..1d4e1696bf 100644 --- a/src/DesignCompile/DesignElaboration.cpp +++ b/src/DesignCompile/DesignElaboration.cpp @@ -51,6 +51,7 @@ #include #include +#include #include #include #include diff --git a/src/DesignCompile/ElaborationStep.cpp b/src/DesignCompile/ElaborationStep.cpp index b964a8a0e2..123491c5f0 100644 --- a/src/DesignCompile/ElaborationStep.cpp +++ b/src/DesignCompile/ElaborationStep.cpp @@ -24,6 +24,7 @@ #include "Surelog/DesignCompile/ElaborationStep.h" #include +#include #include #include #include diff --git a/src/ErrorReporting/Waiver.cpp b/src/ErrorReporting/Waiver.cpp index c0cd0fdf23..55847b39dd 100644 --- a/src/ErrorReporting/Waiver.cpp +++ b/src/ErrorReporting/Waiver.cpp @@ -23,6 +23,7 @@ #include "Surelog/ErrorReporting/Waiver.h" +#include #include #include #include diff --git a/src/SourceCompile/PreprocessFile.cpp b/src/SourceCompile/PreprocessFile.cpp index 4d7cbbc2b1..4066918bfd 100644 --- a/src/SourceCompile/PreprocessFile.cpp +++ b/src/SourceCompile/PreprocessFile.cpp @@ -27,6 +27,7 @@ #include #include +#include #include #include #include From e6608908aa5ccf781340be61cbb8dc74a92fface Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Fri, 8 Nov 2024 21:11:39 -0800 Subject: [PATCH 8/8] Include `` for files using std::cout, std::endl --- src/Cache/PPCache_test.cpp | 1 + src/Common/FileSystem.cpp | 1 + src/Common/PlatformFileSystem_test.cpp | 1 + src/DesignCompile/CompileDesign.cpp | 1 + src/DesignCompile/CompileExpression.cpp | 1 + src/DesignCompile/DesignElaboration.cpp | 1 + src/DesignCompile/Elaboration_test.cpp | 1 + src/DesignCompile/UhdmWriter.cpp | 1 + src/ErrorReporting/LogListener.cpp | 1 + src/Library/Library.cpp | 1 + src/Library/LibrarySet.cpp | 1 + src/Library/ParseLibraryDef.cpp | 1 + src/SourceCompile/AnalyzeFile.cpp | 1 + src/SourceCompile/Compiler.cpp | 1 + src/SourceCompile/ParseFile.cpp | 1 + src/SourceCompile/SV3_1aPpTreeShapeListener.cpp | 1 + 16 files changed, 16 insertions(+) diff --git a/src/Cache/PPCache_test.cpp b/src/Cache/PPCache_test.cpp index 12156a96a6..c65d8eb520 100644 --- a/src/Cache/PPCache_test.cpp +++ b/src/Cache/PPCache_test.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include diff --git a/src/Common/FileSystem.cpp b/src/Common/FileSystem.cpp index 6efca21b73..01a551ddd9 100644 --- a/src/Common/FileSystem.cpp +++ b/src/Common/FileSystem.cpp @@ -29,6 +29,7 @@ #define NOMINMAX #include +#include #include #include #include diff --git a/src/Common/PlatformFileSystem_test.cpp b/src/Common/PlatformFileSystem_test.cpp index 25b8ebe920..57704c41b1 100644 --- a/src/Common/PlatformFileSystem_test.cpp +++ b/src/Common/PlatformFileSystem_test.cpp @@ -25,6 +25,7 @@ #include +#include #include #include #include diff --git a/src/DesignCompile/CompileDesign.cpp b/src/DesignCompile/CompileDesign.cpp index da5059f58a..9ca467e502 100644 --- a/src/DesignCompile/CompileDesign.cpp +++ b/src/DesignCompile/CompileDesign.cpp @@ -55,6 +55,7 @@ #include #include +#include #include #include #include diff --git a/src/DesignCompile/CompileExpression.cpp b/src/DesignCompile/CompileExpression.cpp index 6e5f1ec704..4362489dec 100644 --- a/src/DesignCompile/CompileExpression.cpp +++ b/src/DesignCompile/CompileExpression.cpp @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/src/DesignCompile/DesignElaboration.cpp b/src/DesignCompile/DesignElaboration.cpp index 1d4e1696bf..1e73f198a0 100644 --- a/src/DesignCompile/DesignElaboration.cpp +++ b/src/DesignCompile/DesignElaboration.cpp @@ -52,6 +52,7 @@ #include #include +#include #include #include #include diff --git a/src/DesignCompile/Elaboration_test.cpp b/src/DesignCompile/Elaboration_test.cpp index 099bf5a783..ee12b5184f 100644 --- a/src/DesignCompile/Elaboration_test.cpp +++ b/src/DesignCompile/Elaboration_test.cpp @@ -17,6 +17,7 @@ #include #include +#include #include #include #include diff --git a/src/DesignCompile/UhdmWriter.cpp b/src/DesignCompile/UhdmWriter.cpp index dc70f5590a..056ffe04e8 100644 --- a/src/DesignCompile/UhdmWriter.cpp +++ b/src/DesignCompile/UhdmWriter.cpp @@ -24,6 +24,7 @@ #include "Surelog/DesignCompile/UhdmWriter.h" #include +#include #include #include #include diff --git a/src/ErrorReporting/LogListener.cpp b/src/ErrorReporting/LogListener.cpp index f42ddf281c..a0e44d752b 100644 --- a/src/ErrorReporting/LogListener.cpp +++ b/src/ErrorReporting/LogListener.cpp @@ -23,6 +23,7 @@ #include "Surelog/ErrorReporting/LogListener.h" +#include #include #include "Surelog/Common/FileSystem.h" diff --git a/src/Library/Library.cpp b/src/Library/Library.cpp index f50201990e..e48a38050d 100644 --- a/src/Library/Library.cpp +++ b/src/Library/Library.cpp @@ -23,6 +23,7 @@ #include "Surelog/Library/Library.h" +#include #include #include "Surelog/Design/ModuleDefinition.h" diff --git a/src/Library/LibrarySet.cpp b/src/Library/LibrarySet.cpp index dbbfe73123..609291616c 100644 --- a/src/Library/LibrarySet.cpp +++ b/src/Library/LibrarySet.cpp @@ -23,6 +23,7 @@ #include "Surelog/Library/LibrarySet.h" +#include #include #include #include diff --git a/src/Library/ParseLibraryDef.cpp b/src/Library/ParseLibraryDef.cpp index 971bf4a540..bc6346f7f2 100644 --- a/src/Library/ParseLibraryDef.cpp +++ b/src/Library/ParseLibraryDef.cpp @@ -26,6 +26,7 @@ #include #include +#include #include #include diff --git a/src/SourceCompile/AnalyzeFile.cpp b/src/SourceCompile/AnalyzeFile.cpp index 08c8fb28f7..ec4d877baf 100644 --- a/src/SourceCompile/AnalyzeFile.cpp +++ b/src/SourceCompile/AnalyzeFile.cpp @@ -23,6 +23,7 @@ #include "Surelog/SourceCompile/AnalyzeFile.h" +#include #include #include #include diff --git a/src/SourceCompile/Compiler.cpp b/src/SourceCompile/Compiler.cpp index 67f4acaf14..2f03ffba06 100644 --- a/src/SourceCompile/Compiler.cpp +++ b/src/SourceCompile/Compiler.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include diff --git a/src/SourceCompile/ParseFile.cpp b/src/SourceCompile/ParseFile.cpp index aec4d7e4e0..2c041c6cc8 100644 --- a/src/SourceCompile/ParseFile.cpp +++ b/src/SourceCompile/ParseFile.cpp @@ -27,6 +27,7 @@ #include #include +#include #include #include "Surelog/Cache/ParseCache.h" diff --git a/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp b/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp index 767c1c94ac..d2b0b699c9 100644 --- a/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp +++ b/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp @@ -16,6 +16,7 @@ #include "Surelog/SourceCompile/SV3_1aPpTreeShapeListener.h" +#include #include #include #include