[clang] [analyzer] Use explicit call description mode in MIGChecker (PR #91331)

Artem Dergachev via cfe-commits cfe-commits at lists.llvm.org
Tue May 7 08:00:08 PDT 2024


================
@@ -87,7 +90,7 @@ class MIGChecker : public Checker<check::PostCall, check::PreStmt<ReturnStmt>,
 #undef CALL
   };
 
-  CallDescription OsRefRetain{{"os_ref_retain"}, 1};
+  CallDescription OsRefRetain{CDM::SimpleFunc, {"os_ref_retain"}, 1};
----------------
haoNoQ wrote:

Yes, this is a plain C function. Definitely not builtin. May or may not come from system headers depending on what we're compiling.

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


More information about the cfe-commits mailing list