[PATCH] D44755: [analyzer] Suppress more C++17-related crashes.

George Karpenkov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 21 14:09:31 PDT 2018


george.karpenkov added inline comments.


================
Comment at: lib/StaticAnalyzer/Core/ExprEngine.cpp:480
       }
+      CC = dyn_cast<TemporaryObjectConstructionContext>(
+          RTCElem->getConstructionContext());
----------------
I'm a bit confused as to what is going on here; maybe a short comment would be helpful?
What I don't understand is that we go through that branch when construction context is supplied only to completely ignore it [..because we know better?..]


Repository:
  rC Clang

https://reviews.llvm.org/D44755





More information about the cfe-commits mailing list