MCPcopy Create free account
hub / github.com/dds-bridge/dds / GetCompiler

Function GetCompiler

library/tests/testcommon.cpp:223–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221
222
223string GetCompiler()
224{
225 unsigned comp;
226#if defined(_MSC_VER)
227 comp = 1;
228#elif defined(__MINGW32__)
229 comp = 2;
230#elif defined(__clang__)
231 comp = 4; // Out-of-order on purpose
232#elif defined(__GNUC__)
233 comp = 3;
234#else
235 comp = 0;
236#endif
237
238 return DDS_SYSTEM_COMPILER[comp];
239}
240
241
242void main_identify()

Callers 1

main_identifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected