[PATCH] D29884: [analyzer] Proper caching in CallDescription objects.

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 15 08:17:03 PST 2017


NoQ added inline comments.


================
Comment at: cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:73
+      : II(nullptr), IsLookupDone(false), FuncName(FuncName),
+        RequiredArgs(RequiredArgs) {}
 
----------------
Maybe `assert(FuncName.size() > 0)` here?


Repository:
  rL LLVM

https://reviews.llvm.org/D29884





More information about the cfe-commits mailing list