mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-07 18:48:22 +00:00
Suppress clang warning for tier0's GetCPUInformation().
This commit is contained in:
parent
6b3ff6105d
commit
ab2ee379fa
@ -635,8 +635,18 @@ struct CPUInformation
|
||||
tchar* m_szProcessorID; // Processor vendor Identification.
|
||||
};
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
||||
#pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
|
||||
#endif
|
||||
|
||||
PLATFORM_INTERFACE const CPUInformation& GetCPUInformation();
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
// ---------------------------------------------------------------------------------- //
|
||||
// Performance Monitoring Events - L2 stats etc...
|
||||
// ---------------------------------------------------------------------------------- //
|
||||
|
||||
Loading…
Reference in New Issue
Block a user