MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / hostArchitecture

Function hostArchitecture

Tools/SC-build.cpp:99–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99static constexpr Architecture::Type hostArchitecture()
100{
101 switch (HostInstructionSet)
102 {
103 case InstructionSet::Intel32: return Architecture::Intel32;
104 case InstructionSet::Intel64: return Architecture::Intel64;
105 case InstructionSet::ARM64: return Architecture::Arm64;
106 }
107 Assert::unreachable();
108}
109
110static constexpr StringView buildArchitectureName(const Parameters& parameters, const Configuration& configuration)
111{

Callers 1

buildArchitectureNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected