[PATCH] D124916: [X86] Fix uninitialized variable warnings in cetintrin.h reported by #55224
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 4 09:30:39 PDT 2022
craig.topper added inline comments.
================
Comment at: clang/lib/Headers/cetintrin.h:45
static __inline__ unsigned int __DEFAULT_FN_ATTRS _rdsspd_i32() {
+#pragma clang diagnostic push
----------------
The argument should also be `(void)`.
================
Comment at: clang/lib/Headers/cetintrin.h:58
static __inline__ unsigned long long __DEFAULT_FN_ATTRS _rdsspq_i64() {
+#pragma clang diagnostic push
----------------
Same here
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124916/new/
https://reviews.llvm.org/D124916
More information about the cfe-commits
mailing list