[PATCH] D54823: [analyzer][MallocChecker][NFC] Document and reorganize some functions

Kristóf Umann via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 19 07:51:04 PDT 2019


Szelethus marked an inline comment as done.
Szelethus added inline comments.
Herald added a subscriber: Charusso.
Herald added a project: LLVM.


================
Comment at: cfe/trunk/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:3090
   return checkPointerEscapeAux(State, Escaped, Call, Kind,
-                               &checkIfNewOrNewArrayFamily);
+                               /*IsConstPointerEscape*/ true);
 }
----------------
Praise clangd! This is why the buildbots broke :) `checkIfNewOrNewArrayFamily` doesn't return `false` in all cases.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D54823/new/

https://reviews.llvm.org/D54823





More information about the llvm-commits mailing list