Fix warnings from new version of clang tidy.

Change-Id: I2c85c8addd2bec83fa3796bb3ca8e87f5523a6fc
diff --git a/src/std.c b/src/std.c
index 84806e2..4576118 100644
--- a/src/std.c
+++ b/src/std.c
@@ -49,7 +49,13 @@
 	CHECK_OR_FILL(destsz <= RSIZE_MAX, dest, destsz, ch);
 	CHECK_OR_FILL(count <= destsz, dest, destsz, ch);
 
+	/*
+	 * Clang analyzer doesn't like us calling unsafe memory functions, so
+	 * make it ignore this call.
+	 */
+#ifndef __clang_analyzer__
 	memset(dest, ch, count);
+#endif
 }
 
 void memcpy_s(void *dest, rsize_t destsz, const void *src, rsize_t count)
@@ -73,7 +79,9 @@
 	CHECK_OR_ZERO_FILL(d < s || d >= (s + count), dest, destsz);
 	CHECK_OR_ZERO_FILL(d > s || s >= (d + count), dest, destsz);
 
+#ifndef __clang_analyzer__
 	memcpy(dest, src, count);
+#endif
 }
 
 void memmove_s(void *dest, rsize_t destsz, const void *src, rsize_t count)
@@ -85,7 +93,9 @@
 	CHECK_OR_ZERO_FILL(destsz <= RSIZE_MAX, dest, destsz);
 	CHECK_OR_ZERO_FILL(count <= destsz, dest, destsz);
 
+#ifndef __clang_analyzer__
 	memmove(dest, src, count);
+#endif
 }
 
 /**