[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:46 PST 2026


================
@@ -41,8 +47,7 @@ namespace std {
       // Fake use-after-free.
       // No warning is expected as we are suppressing warning coming
       // out of std::list.
-      int z = 0;
-      z = 5/z;
+      TRIGGER_DIV_BY_ZERO
----------------
gamesh411 wrote:

Fixed.

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


More information about the cfe-commits mailing list