mirror of
https://github.com/google/cpu_features.git
synced 2025-08-17 11:40:09 +02:00
[x86] Embed brand_string and mark FillX86BrandString as deprecated (#214)
This commit is contained in:

committed by
GitHub

parent
aa642e573e
commit
149916384b
@@ -239,4 +239,11 @@
|
||||
#define CPU_FEATURES_UNREACHABLE()
|
||||
#endif
|
||||
|
||||
// Communicates to the compiler that the function is now deprecated
|
||||
#if defined(CPU_FEATURES_COMPILER_CLANG) || defined(CPU_FEATURES_COMPILER_GCC)
|
||||
#define CPU_FEATURES_DEPRECATED(message) __attribute__((deprecated(message)))
|
||||
#else
|
||||
#define CPU_FEATURES_DEPRECATED(message)
|
||||
#endif
|
||||
|
||||
#endif // CPU_FEATURES_INCLUDE_CPU_FEATURES_MACROS_H_
|
||||
|
Reference in New Issue
Block a user