Skip to content

Commit

Permalink
Include cstdint for all files that use u?int.._t.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzeller committed Nov 10, 2024
1 parent c5656f5 commit 1458310
Show file tree
Hide file tree
Showing 123 changed files with 131 additions and 0 deletions.
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
1 change: 1 addition & 0 deletions include/Surelog/Design/DesignComponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include <Surelog/Design/ValuedComponentI.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/DesignElement.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <Surelog/Common/SymbolId.h>
#include <Surelog/Design/TimeInfo.h>

#include <cstdint>
#include <ostream>

namespace SURELOG {
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/Design/Enum.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <Surelog/Common/SymbolId.h>
#include <Surelog/Design/DataType.h>

#include <cstdint>
#include <functional>
#include <string_view>
#include <utility>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/Design/FileContent.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <Surelog/Design/DesignComponent.h>
#include <Surelog/Design/VObject.h>

#include <cstdint>
#include <functional>
#include <map>
#include <set>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/Design/ModuleDefinition.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <Surelog/Design/DesignComponent.h>
#include <Surelog/Design/ModPort.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
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/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
1 change: 1 addition & 0 deletions include/Surelog/DesignCompile/DesignElaboration.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#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
1 change: 1 addition & 0 deletions include/Surelog/DesignCompile/NetlistElaboration.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#include <Surelog/DesignCompile/TestbenchElaboration.h>

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

Expand Down
1 change: 1 addition & 0 deletions include/Surelog/DesignCompile/ResolveSymbols.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <Surelog/Common/SymbolId.h>
#include <Surelog/DesignCompile/CompileStep.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/Package/Package.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <Surelog/Design/DesignComponent.h>
#include <Surelog/Expression/ExprBuilder.h>

#include <cstdint>
#include <string_view>

// UHDM
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/SourceCompile/AnalyzeFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <Surelog/Design/DesignElement.h>
#include <Surelog/SourceCompile/IncludeFileInfo.h>

#include <cstdint>
#include <stack>
#include <string>
#include <string_view>
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 @@ -28,6 +28,7 @@
#include <ANTLRErrorListener.h>
#include <Surelog/Common/PathId.h>

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

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 @@ -29,6 +29,7 @@
#include <Surelog/Common/PathId.h>
#include <Surelog/SourceCompile/VObjectTypes.h>

#include <cstdint>
#include <map>
#include <string>
#include <string_view>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/SourceCompile/CompilationUnit.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <Surelog/Common/NodeId.h>
#include <Surelog/Design/TimeInfo.h>

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

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 @@ -28,6 +28,7 @@
#include <Surelog/Common/SymbolId.h>
#include <Surelog/SourceCompile/PreprocessFile.h>

#include <cstdint>
#include <map>
#include <string>
#include <string_view>
Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/SourceCompile/IncludeFileInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
#include <Surelog/Common/PathId.h>
#include <Surelog/Common/SymbolId.h>

#include <cstdint>

namespace SURELOG {

class IncludeFileInfo {
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/SourceCompile/MacroInfo.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 <string>
#include <string_view>
#include <vector>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/SourceCompile/ParseFile.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 <string>
#include <string_view>
#include <vector>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/SourceCompile/PreprocessFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <Surelog/SourceCompile/IncludeFileInfo.h>
#include <Surelog/SourceCompile/LoopCheck.h>

#include <cstdint>
#include <set>
#include <string>
#include <string_view>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/SourceCompile/SV3_1aPpTreeListenerHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <Surelog/SourceCompile/CommonListenerHelper.h>
#include <Surelog/SourceCompile/PreprocessFile.h>

#include <cstdint>
#include <set>
#include <string_view>
#include <vector>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/SourceCompile/SV3_1aTreeShapeHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <Surelog/SourceCompile/IncludeFileInfo.h>
#include <parser/SV3_1aParser.h>

#include <cstdint>
#include <stack>
#include <string_view>
#include <utility>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/Testbench/ClassDefinition.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <Surelog/Design/DesignComponent.h>
#include <Surelog/Testbench/TaskMethod.h>

#include <cstdint>
#include <map>
#include <string>
#include <string_view>
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/Testbench/Program.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <Surelog/Common/SymbolId.h>
#include <Surelog/Design/DesignComponent.h>

#include <cstdint>
#include <string_view>

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

#include <ParserRuleContext.h>

#include <cstdint>
#include <string>
#include <utility>
#include <vector>
Expand Down
Loading

0 comments on commit 1458310

Please sign in to comment.