[PATCH] D48681: [CFG] [analyzer] Add construction contexts for function arguments.

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 10 17:34:59 PDT 2018


NoQ added inline comments.


================
Comment at: lib/Analysis/ConstructionContext.cpp:186
+        isa<ObjCMessageExpr>(TopLayer->getTriggerStmt())) {
+      return create<ArgumentConstructionContext>(
+          C, cast<Expr>(TopLayer->getTriggerStmt()), TopLayer->getIndex(),
----------------
Should assert that we only have one layer.


Repository:
  rC Clang

https://reviews.llvm.org/D48681





More information about the cfe-commits mailing list