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

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 13 17:39:21 PDT 2018


NoQ added inline comments.


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


https://reviews.llvm.org/D47658





More information about the cfe-commits mailing list