Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a bunch of missing std:: headers #4008

Merged
Merged
3 changes: 3 additions & 0 deletions include/Surelog/CommandLine/CommandLineParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
#define SURELOG_COMMANDLINEPARSER_H
#pragma once

#include <functional>
#include <utility>
#include <string_view>
#include <Surelog/Common/PathId.h>
#include <Surelog/Common/SymbolId.h>

Expand Down
4 changes: 4 additions & 0 deletions include/Surelog/Common/FileSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
#define SURELOG_FILESYSTEM_H
#pragma once

#include <functional>
#include <set>
#include <utility>
#include <vector>
#include <Surelog/Common/PathId.h>

#include <cstdint>
Expand Down
5 changes: 5 additions & 0 deletions include/Surelog/Common/PlatformFileSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
#define SURELOG_PLATFORMFILESYSTEM_H
#pragma once

#include <functional>
#include <utility>
#include <vector>
#include <string_view>
#include <string>
#include <Surelog/Common/FileSystem.h>

#include <memory>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/Design/DefParam.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#define SURELOG_DEFPARAM_H
#pragma once

#include <string_view>
#include <Surelog/Common/NodeId.h>

#include <map>
Expand Down
4 changes: 4 additions & 0 deletions include/Surelog/Design/Design.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
#define SURELOG_DESIGN_H
#pragma once

#include <functional>
#include <utility>
#include <string_view>
#include <string>
#include <Surelog/Common/Containers.h>
#include <Surelog/Common/NodeId.h>
#include <Surelog/Common/PathId.h>
Expand Down
6 changes: 6 additions & 0 deletions include/Surelog/Design/DesignComponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
#define SURELOG_DESIGNCOMPONENT_H
#pragma once

#include <functional>
#include <map>
#include <utility>
#include <vector>
#include <string_view>
#include <string>
#include <Surelog/Common/Containers.h>
#include <Surelog/Common/PathId.h>
#include <Surelog/Common/PortNetHolder.h>
Expand Down
3 changes: 3 additions & 0 deletions include/Surelog/Design/Enum.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
#define SURELOG_ENUM_H
#pragma once

#include <functional>
#include <utility>
#include <string_view>
#include <Surelog/Common/SymbolId.h>
#include <Surelog/Design/DataType.h>

Expand Down
5 changes: 5 additions & 0 deletions include/Surelog/Design/FileContent.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
#define SURELOG_FILECONTENT_H
#pragma once

#include <functional>
#include <set>
#include <map>
#include <string_view>
#include <string>
#include <Surelog/Common/Containers.h>
#include <Surelog/Common/NodeId.h>
#include <Surelog/Design/DesignComponent.h>
Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/Design/Function.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#define SURELOG_FUNCTION_H
#pragma once

#include <vector>
#include <string_view>
#include <Surelog/Common/SymbolId.h>
#include <Surelog/Design/Scope.h>
#include <Surelog/Design/Statement.h>
Expand Down
3 changes: 3 additions & 0 deletions include/Surelog/Design/ModuleDefinition.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
#define SURELOG_MODULEDEFINITION_H
#pragma once

#include <functional>
#include <map>
#include <string>
#include <Surelog/Common/ClockingBlockHolder.h>
#include <Surelog/Common/Containers.h>
#include <Surelog/Common/SymbolId.h>
Expand Down
4 changes: 4 additions & 0 deletions include/Surelog/Design/ModuleInstance.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
#define SURELOG_MODULEINSTANCE_H
#pragma once

#include <set>
#include <map>
#include <vector>
#include <string>
#include <Surelog/Common/Containers.h>
#include <Surelog/Common/NodeId.h>
#include <Surelog/Common/SymbolId.h>
Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/Design/Netlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#pragma once

// UHDM
#include <functional>
#include <utility>
#include <uhdm/uhdm_forward_decl.h>

#include <map>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/Design/Parameter.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#define SURELOG_PARAMETER_H
#pragma once

#include <string_view>
#include <Surelog/Common/SymbolId.h>
#include <Surelog/Design/DataType.h>

Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/Design/Scope.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#define SURELOG_SCOPE_H
#pragma once

#include <functional>
#include <string_view>
#include <Surelog/Common/RTTI.h>

#include <string>
Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/Design/Signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#define SURELOG_SIGNAL_H
#pragma once

#include <vector>
#include <string_view>
#include <Surelog/Common/NodeId.h>
#include <Surelog/SourceCompile/VObjectTypes.h>
#include <uhdm/attribute.h>
Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/Design/Statement.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#define SURELOG_STATEMENT_H
#pragma once

#include <utility>
#include <string_view>
#include <Surelog/Common/NodeId.h>
#include <Surelog/Common/RTTI.h>
#include <Surelog/Design/Scope.h>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/Design/Task.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#define SURELOG_TASK_H
#pragma once

#include <string_view>
#include <Surelog/Common/SymbolId.h>
#include <Surelog/Design/Function.h>

Expand Down
1 change: 1 addition & 0 deletions include/Surelog/Design/TfPortItem.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#define SURELOG_TFPORTITEM_H
#pragma once

#include <string_view>
#include <Surelog/SourceCompile/VObjectTypes.h>
#include <Surelog/Testbench/Variable.h>

Expand Down
1 change: 1 addition & 0 deletions include/Surelog/Design/VObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#define SURELOG_VOBJECT_H
#pragma once

#include <string_view>
#include <Surelog/Common/NodeId.h>
#include <Surelog/Common/PathId.h>
#include <Surelog/Common/SymbolId.h>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/Design/ValuedComponentI.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#define SURELOG_VALUEDCOMPONENTI_H
#pragma once

#include <utility>
#include <Surelog/Common/Containers.h>
#include <Surelog/Common/RTTI.h>

Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/DesignCompile/CompileClass.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#define SURELOG_COMPILECLASS_H
#pragma once

#include <set>
#include <string>
#include <Surelog/DesignCompile/CompileHelper.h>
#include <Surelog/Testbench/ClassDefinition.h>

Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/DesignCompile/CompileDesign.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#define SURELOG_COMPILEDESIGN_H
#pragma once

#include <map>
#include <vector>
#include <Surelog/Design/Design.h>

// UHDM
Expand Down
3 changes: 3 additions & 0 deletions include/Surelog/DesignCompile/CompileHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
#define SURELOG_COMPILEHELPER_H
#pragma once

#include <utility>
#include <vector>
#include <string_view>
#include <Surelog/Common/PathId.h>
#include <Surelog/Design/ValuedComponentI.h>
#include <Surelog/Expression/ExprBuilder.h>
Expand Down
7 changes: 7 additions & 0 deletions include/Surelog/DesignCompile/DesignElaboration.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@
#define SURELOG_DESIGNELABORATION_H
#pragma once

#include <functional>
#include <set>
#include <map>
#include <utility>
#include <vector>
#include <string_view>
#include <string>
#include <Surelog/Config/Config.h>
#include <Surelog/DesignCompile/TestbenchElaboration.h>

Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/DesignCompile/ElaborationStep.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#define SURELOG_ELABORATIONSTEP_H
#pragma once

#include <map>
#include <string_view>
#include <Surelog/DesignCompile/CompileHelper.h>
#include <Surelog/ErrorReporting/ErrorDefinition.h>
#include <Surelog/Expression/ExprBuilder.h>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/DesignCompile/ElaboratorHarness.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#define SURELOG_ELABORATORHARNESS_H
#pragma once

#include <string_view>
#include <string>

namespace SURELOG {
Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/DesignCompile/NetlistElaboration.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#define SURELOG_NETLISTELABORATION_H
#pragma once

#include <map>
#include <string_view>
#include <Surelog/DesignCompile/TestbenchElaboration.h>

namespace SURELOG {
Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/DesignCompile/ResolveSymbols.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#define SURELOG_RESOLVESYMBOLS_H
#pragma once

#include <vector>
#include <string_view>
#include <Surelog/Common/SymbolId.h>
#include <Surelog/DesignCompile/CompileStep.h>

Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/DesignCompile/UhdmChecker.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#define SURELOG_UHDMCHECKER_H
#pragma once

#include <utility>
#include <string_view>
#include <Surelog/Common/PathId.h>

#include <map>
Expand Down
4 changes: 4 additions & 0 deletions include/Surelog/DesignCompile/UhdmWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
#define SURELOG_UHDMWRITER_H
#pragma once

#include <functional>
#include <map>
#include <vector>
#include <string_view>
#include <Surelog/Design/DesignComponent.h>
#include <Surelog/DesignCompile/CompileHelper.h>
#include <Surelog/SourceCompile/VObjectTypes.h>
Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/ErrorReporting/ErrorContainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#define SURELOG_ERRORCONTAINER_H
#pragma once

#include <utility>
#include <string_view>
#include <Surelog/ErrorReporting/Error.h>

#include <set>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/ErrorReporting/LogListener.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#define SURELOG_LOGLISTENER_H
#pragma once

#include <string_view>
#include <deque>
#include <mutex>
#include <ostream>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/ErrorReporting/Waiver.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#define SURELOG_WAIVER_H
#pragma once

#include <functional>
#include <Surelog/ErrorReporting/ErrorDefinition.h>

#include <map>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/Expression/ExprBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#define SURELOG_EXPRBUILDER_H
#pragma once

#include <string_view>
#include <Surelog/Expression/Value.h>

namespace SURELOG {
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/Library/AntlrLibParserErrorListener.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#define SURELOG_ANTLRLIBPARSERERRORLISTENER_H
#pragma once

#include <string>
#include <ANTLRErrorListener.h>

#include <cstddef>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/Library/SVLibShapeListener.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#define SURELOG_SVLIBSHAPELISTENER_H
#pragma once

#include <string_view>
#include <Surelog/Common/PathId.h>
#include <Surelog/SourceCompile/SV3_1aTreeShapeHelper.h>
#include <parser/SV3_1aParserBaseListener.h>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/Package/Precompiled.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#define SURELOG_PRECOMPILED_H
#pragma once

#include <functional>
#include <map>
#include <set>
#include <string>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/SourceCompile/AntlrParserErrorListener.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#define SURELOG_ANTLRPARSERERRORLISTENER_H
#pragma once

#include <string>
#include <Surelog/Common/PathId.h>
#include <ANTLRErrorListener.h>

Expand Down
1 change: 1 addition & 0 deletions include/Surelog/SourceCompile/CommonListenerHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#define SURELOG_COMMONLISTENERHELPER_H
#pragma once

#include <string_view>
#include <Surelog/Common/NodeId.h>
#include <Surelog/Common/PathId.h>
#include <Surelog/SourceCompile/VObjectTypes.h>
Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/SourceCompile/CompilationUnit.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#define SURELOG_COMPILATIONUNIT_H
#pragma once

#include <vector>
#include <string_view>
#include <Surelog/Common/Containers.h>
#include <Surelog/Common/NodeId.h>
#include <Surelog/Design/TimeInfo.h>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/SourceCompile/CompileSourceFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#define SURELOG_COMPILESOURCEFILE_H
#pragma once

#include <string_view>
#include <Surelog/Common/SymbolId.h>
#include <Surelog/SourceCompile/PreprocessFile.h>

Expand Down
1 change: 1 addition & 0 deletions include/Surelog/SourceCompile/Compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ limitations under the License.
#define SURELOG_COMPILER_H
#pragma once

#include <string_view>
#include <Surelog/Common/PathId.h>
#include <Surelog/Common/SymbolId.h>
#include <Surelog/ErrorReporting/ErrorContainer.h>
Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/SourceCompile/ParseFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#define SURELOG_PARSEFILE_H
#pragma once

#include <vector>
#include <string_view>
#include <Surelog/ErrorReporting/Error.h>

#include <string>
Expand Down
Loading
Loading