[clang] 21feafa - [analyzer] Attempt to fix test infeasible-crash.c
Gabor Marton via cfe-commits
cfe-commits at lists.llvm.org
Tue May 10 02:18:54 PDT 2022
Author: Gabor Marton
Date: 2022-05-10T11:18:35+02:00
New Revision: 21feafaeb85aad2847db44aa2208999b166ba4a9
URL: https://github.com/llvm/llvm-project/commit/21feafaeb85aad2847db44aa2208999b166ba4a9
DIFF: https://github.com/llvm/llvm-project/commit/21feafaeb85aad2847db44aa2208999b166ba4a9.diff
LOG: [analyzer] Attempt to fix test infeasible-crash.c
Added:
Modified:
clang/test/Analysis/infeasible-crash.c
Removed:
################################################################################
diff --git a/clang/test/Analysis/infeasible-crash.c b/clang/test/Analysis/infeasible-crash.c
index 66ea77f0a86f..d4e6a66f85bc 100644
--- a/clang/test/Analysis/infeasible-crash.c
+++ b/clang/test/Analysis/infeasible-crash.c
@@ -6,7 +6,8 @@
// expected-no-diagnostics
-void *memmove(void *, const void *, unsigned long);
+typedef typeof(sizeof(int)) size_t;
+void *memmove(void *, const void *, size_t);
typedef struct {
char a[1024];
More information about the cfe-commits
mailing list