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

Include cstdint for all files that use u?int.._t. #4012

Merged
merged 4 commits into from
Nov 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions include/Surelog/API/PythonAPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#define SURELOG_PYTHONAPI_H
#pragma once

#include <cstdint>
#include <filesystem>
#include <string>
#include <vector>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/API/SLAPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <Surelog/Common/NodeId.h>
#include <Surelog/SourceCompile/VObjectTypes.h>

#include <cstdint>
#include <string>
#include <vector>

Expand Down
1 change: 1 addition & 0 deletions include/Surelog/Cache/Cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <Surelog/Common/PathId.h>
#include <Surelog/ErrorReporting/Error.h>

#include <cstdint>
#include <string_view>
#include <vector>

Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/Cache/PPCache.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
#include <Surelog/Cache/Cache.h>
#include <Surelog/Cache/PPCache.capnp.h>

#include <cstdint>

namespace SURELOG {

class PreprocessFile;
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/CommandLine/CommandLineParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <Surelog/Common/PathId.h>
#include <Surelog/Common/SymbolId.h>

#include <cstdint>
#include <filesystem>
#include <functional>
#include <map>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/Common/PlatformFileSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#include <Surelog/Common/FileSystem.h>

#include <cstdint>
#include <functional>
#include <memory>
#include <mutex>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/Design/Design.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <Surelog/Common/NodeId.h>
#include <Surelog/Common/PathId.h>

#include <cstdint>
#include <functional>
#include <map>
#include <mutex>
Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/Design/DesignComponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#pragma once

#include <Surelog/Common/Containers.h>
#include <Surelog/Common/NodeId.h>
#include <Surelog/Common/PathId.h>
#include <Surelog/Common/PortNetHolder.h>
#include <Surelog/Common/SymbolId.h>
Expand All @@ -34,6 +35,7 @@
#include <Surelog/Design/ValuedComponentI.h>
#include <Surelog/SourceCompile/VObjectTypes.h>

#include <cstdint>
#include <functional>
#include <map>
#include <string>
Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/Design/DesignElement.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
#include <Surelog/Common/PathId.h>
#include <Surelog/Common/SymbolId.h>
#include <Surelog/Design/TimeInfo.h>
#include <Surelog/SourceCompile/VObjectTypes.h>

#include <cstdint>
#include <ostream>

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

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

Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/Design/Enum.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@
#define SURELOG_ENUM_H
#pragma once

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

#include <cstdint>
#include <functional>
#include <string_view>
#include <utility>
Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/Design/FileContent.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
#include <Surelog/Common/NodeId.h>
#include <Surelog/Design/DesignComponent.h>
#include <Surelog/Design/VObject.h>
#include <Surelog/SourceCompile/VObjectTypes.h>

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

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

#include <Surelog/Common/NodeId.h>
#include <Surelog/Common/SymbolId.h>
#include <Surelog/Design/Signal.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 @@ -27,10 +27,13 @@

#include <Surelog/Common/ClockingBlockHolder.h>
#include <Surelog/Common/Containers.h>
#include <Surelog/Common/NodeId.h>
#include <Surelog/Common/SymbolId.h>
#include <Surelog/Design/DesignComponent.h>
#include <Surelog/Design/ModPort.h>
#include <Surelog/SourceCompile/VObjectTypes.h>

#include <cstdint>
#include <functional>
#include <map>
#include <string>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/Design/ModuleInstance.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <Surelog/SourceCompile/VObjectTypes.h>
#include <uhdm/Serializer.h>

#include <cstdint>
#include <map>
#include <set>
#include <string>
Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/Design/Parameter.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@
#define SURELOG_PARAMETER_H
#pragma once

#include <Surelog/Common/NodeId.h>
#include <Surelog/Common/SymbolId.h>
#include <Surelog/Design/DataType.h>
#include <Surelog/SourceCompile/VObjectTypes.h>

#include <string_view>

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

#include <Surelog/Common/NodeId.h>
#include <Surelog/Common/SymbolId.h>
#include <Surelog/Design/DataType.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 <Surelog/Common/NodeId.h>
#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 <Surelog/Common/NodeId.h>
#include <Surelog/SourceCompile/VObjectTypes.h>
#include <Surelog/Testbench/Variable.h>

Expand Down
1 change: 1 addition & 0 deletions include/Surelog/Design/TimeInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <Surelog/Common/PathId.h>
#include <Surelog/SourceCompile/VObjectTypes.h>

#include <cstdint>
#include <string_view>

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

#include <Surelog/Common/NodeId.h>
#include <Surelog/Common/SymbolId.h>
#include <Surelog/Design/DataType.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 @@ -30,6 +30,7 @@
#include <Surelog/Common/SymbolId.h>
#include <Surelog/SourceCompile/VObjectTypes.h>

#include <cstdint>
#include <ostream>
#include <string>
#include <string_view>
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 @@ -28,6 +28,7 @@
#include <Surelog/Common/Containers.h>
#include <Surelog/Common/RTTI.h>

#include <cstdint>
#include <utility>

// UHDM
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/DesignCompile/CompileClass.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <Surelog/DesignCompile/CompileHelper.h>
#include <Surelog/Testbench/ClassDefinition.h>

#include <cstdint>
#include <set>
#include <string>

Expand Down
1 change: 1 addition & 0 deletions include/Surelog/DesignCompile/CompileDesign.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#include <Surelog/Design/Design.h>

#include <cstdint>
#include <map>
#include <vector>

Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/DesignCompile/CompileFileContent.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@

#include <Surelog/DesignCompile/CompileHelper.h>

#include <cstdint>

namespace SURELOG {

class CompileDesign;
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/DesignCompile/CompileHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <Surelog/Expression/ExprBuilder.h>
#include <Surelog/SourceCompile/VObjectTypes.h>

#include <cstdint>
#include <string>
#include <string_view>
#include <unordered_map>
Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/DesignCompile/CompileModule.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@

#include <Surelog/DesignCompile/CompileHelper.h>

#include <cstdint>

namespace SURELOG {

class CompileDesign;
Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/DesignCompile/CompilePackage.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@

#include <Surelog/DesignCompile/CompileHelper.h>

#include <cstdint>

namespace SURELOG {

class CompileDesign;
Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/DesignCompile/CompileProgram.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
#include <Surelog/DesignCompile/CompileHelper.h>
#include <Surelog/DesignCompile/CompileToolbox.h>

#include <cstdint>

namespace SURELOG {

class CompileDesign;
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/DesignCompile/CompileStep.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <Surelog/Common/SymbolId.h>
#include <Surelog/SourceCompile/VObjectTypes.h>

#include <cstdint>
#include <string_view>
#include <vector>

Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/DesignCompile/DesignElaboration.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@
#define SURELOG_DESIGNELABORATION_H
#pragma once

#include <Surelog/Common/NodeId.h>
#include <Surelog/Config/Config.h>
#include <Surelog/DesignCompile/TestbenchElaboration.h>

#include <cstdint>
#include <functional>
#include <map>
#include <set>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/DesignCompile/ElaborationStep.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <Surelog/ErrorReporting/ErrorDefinition.h>
#include <Surelog/Expression/ExprBuilder.h>

#include <cstdint>
#include <map>
#include <string_view>

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,8 +25,10 @@
#define SURELOG_NETLISTELABORATION_H
#pragma once

#include <Surelog/Common/NodeId.h>
#include <Surelog/DesignCompile/TestbenchElaboration.h>

#include <cstdint>
#include <map>
#include <string_view>

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

#include <Surelog/Common/NodeId.h>
#include <Surelog/Common/SymbolId.h>
#include <Surelog/DesignCompile/CompileStep.h>
#include <Surelog/SourceCompile/VObjectTypes.h>

#include <cstdint>
#include <string_view>
#include <unordered_set>
#include <vector>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/DesignCompile/UhdmChecker.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#include <Surelog/Common/PathId.h>

#include <cstdint>
#include <map>
#include <set>
#include <string_view>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/DesignCompile/UhdmWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <Surelog/DesignCompile/CompileHelper.h>
#include <Surelog/SourceCompile/VObjectTypes.h>

#include <cstdint>
#include <functional>
#include <map>
#include <string_view>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/ErrorReporting/ErrorContainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#include <Surelog/ErrorReporting/Error.h>

#include <cstdint>
#include <set>
#include <string>
#include <string_view>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/ErrorReporting/Location.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <Surelog/Common/PathId.h>
#include <Surelog/Common/SymbolId.h>

#include <cstdint>
#include <ostream>

namespace SURELOG {
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 @@ -27,6 +27,7 @@

#include <Surelog/Common/PathId.h>

#include <cstdint>
#include <deque>
#include <mutex>
#include <ostream>
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 @@ -27,6 +27,7 @@

#include <Surelog/Expression/Value.h>

#include <cstdint>
#include <string_view>

namespace SURELOG {
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 @@ -27,6 +27,7 @@

#include <Surelog/Common/PathId.h>
#include <Surelog/SourceCompile/SV3_1aTreeShapeHelper.h>
#include <Surelog/SourceCompile/VObjectTypes.h>
#include <parser/SV3_1aParserBaseListener.h>

#include <string_view>
Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/Package/Package.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
#include <Surelog/Common/Containers.h>
#include <Surelog/Design/DesignComponent.h>
#include <Surelog/Expression/ExprBuilder.h>
#include <Surelog/SourceCompile/VObjectTypes.h>

#include <cstdint>
#include <string_view>

// UHDM
Expand Down
Loading
Loading