[PATCH] D140395: [clang][analyzer] Extend StreamChecker with some new functions.

Kristóf Umann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 3 07:44:37 PST 2023


Szelethus added a comment.

Mostly LGTM, but I see that you have tests for the predecessor patch here as well, so I'll accept both at once.



================
Comment at: clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:89
   /// The last file operation called in the stream.
+  /// Can be nullptr.
   const FnDescription *LastOperation;
----------------
When can this occur?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140395



More information about the cfe-commits mailing list