[PATCH] D47616: [CFG] [analyzer] Explain copy elision through construction contexts.

Henry Wong via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 3 23:41:03 PDT 2018


MTC added inline comments.


================
Comment at: include/clang/Analysis/ConstructionContext.h:351
+
+  explicit SimpleTemporaryObjectConstructionContext(
+      const CXXBindTemporaryExpr *BTE, const MaterializeTemporaryExpr *MTE)
----------------
`explicit` useless?


================
Comment at: include/clang/Analysis/ConstructionContext.h:377
+
+  explicit ElidedTemporaryObjectConstructionContext(
+      const CXXBindTemporaryExpr *BTE, const MaterializeTemporaryExpr *MTE,
----------------
Same useless here?


https://reviews.llvm.org/D47616





More information about the cfe-commits mailing list