[PATCH] D47658: [analyzer] Re-enable lifetime extension for temporaries with destructors and bring back static temporaries.

Henry Wong via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 4 00:07:47 PDT 2018


MTC added inline comments.


================
Comment at: lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:234
+      SVal V = UnknownVal();
+      if (MTE) {
+        if (MTE->getStorageDuration() != SD_FullExpression) {
----------------
An unrelated question. I want to know, what considerations are you based on not continue to use short circuit style : )?


https://reviews.llvm.org/D47658





More information about the cfe-commits mailing list