[clang] aa25b55 - [X86] Add `void` to void function. NFC
Phoebe Wang via cfe-commits
cfe-commits at lists.llvm.org
Wed May 4 19:59:16 PDT 2022
Author: Phoebe Wang
Date: 2022-05-05T10:58:46+08:00
New Revision: aa25b55bde87501f72346704136951834140bda8
URL: https://github.com/llvm/llvm-project/commit/aa25b55bde87501f72346704136951834140bda8
DIFF: https://github.com/llvm/llvm-project/commit/aa25b55bde87501f72346704136951834140bda8.diff
LOG: [X86] Add `void` to void function. NFC
Added:
Modified:
clang/lib/Headers/cetintrin.h
Removed:
################################################################################
diff --git a/clang/lib/Headers/cetintrin.h b/clang/lib/Headers/cetintrin.h
index 55670a0a9dba6..fbb6bfb00972c 100644
--- a/clang/lib/Headers/cetintrin.h
+++ b/clang/lib/Headers/cetintrin.h
@@ -42,7 +42,7 @@ static __inline__ unsigned int __DEFAULT_FN_ATTRS _rdsspd(unsigned int __a) {
return __builtin_ia32_rdsspd(__a);
}
-static __inline__ unsigned int __DEFAULT_FN_ATTRS _rdsspd_i32() {
+static __inline__ unsigned int __DEFAULT_FN_ATTRS _rdsspd_i32(void) {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wuninitialized"
unsigned int t;
@@ -55,7 +55,7 @@ static __inline__ unsigned long long __DEFAULT_FN_ATTRS _rdsspq(unsigned long lo
return __builtin_ia32_rdsspq(__a);
}
-static __inline__ unsigned long long __DEFAULT_FN_ATTRS _rdsspq_i64() {
+static __inline__ unsigned long long __DEFAULT_FN_ATTRS _rdsspq_i64(void) {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wuninitialized"
unsigned long long t;
@@ -74,7 +74,7 @@ static __inline__ unsigned int __DEFAULT_FN_ATTRS _get_ssp(void) {
}
#endif /* __x86_64__ */
-static __inline__ void __DEFAULT_FN_ATTRS _saveprevssp() {
+static __inline__ void __DEFAULT_FN_ATTRS _saveprevssp(void) {
__builtin_ia32_saveprevssp();
}
@@ -102,7 +102,7 @@ static __inline__ void __DEFAULT_FN_ATTRS _wrussq(unsigned long long __a, void *
}
#endif /* __x86_64__ */
-static __inline__ void __DEFAULT_FN_ATTRS _setssbsy() {
+static __inline__ void __DEFAULT_FN_ATTRS _setssbsy(void) {
__builtin_ia32_setssbsy();
}
More information about the cfe-commits
mailing list