================
@@ -471,13 +474,47 @@ class LifetimeSafetySemaHelperImpl : public
LifetimeSafetySemaHelper {
}
std::string getDiagSubjectDescription(const Expr *E) {
+ E = E->IgnoreImpCasts();
----------------
Xazax-hun wrote:
I wonder if we already have a function somewhere that enumerates all the node
types that we usually skip, and that might include some more like parentheses.
If that is the case maybe we should reuse that?
https://github.com/llvm/llvm-project/pull/199345
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits