[clang] [clang][analyzer] Add OpaqueSTLFunctionsModeling (PR #178910)

Endre Fülöp via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 3 01:16:30 PST 2026


================
@@ -10,6 +10,12 @@ typedef unsigned char uint8_t;
 typedef __typeof__(sizeof(int)) size_t;
 void *memmove(void *s1, const void *s2, size_t n);
 
+#define TRIGGER_DIV_BY_ZERO \
+do {         \
+  int z = 0; \
+  z = 5/z;   \
+} while (0);
----------------
gamesh411 wrote:

Fixed.

https://github.com/llvm/llvm-project/pull/178910


More information about the cfe-commits mailing list