================
@@ -351,7 +355,7 @@ void FactsGenerator::VisitCastExpr(const CastExpr *CE) {
// lvalue level first. A bit-cast that materializes a pointer from a
// non-pointer representation has no matching source origin and is
// untracked.
- OriginList *RVSrc = getRValueOrigins(SubExpr, Src);
+ OriginList *RVSrc = Loads ? Loaded : Src;
----------------
Xazax-hun wrote:
Simplified the logic after inlining into the cases.
https://github.com/llvm/llvm-project/pull/225799
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits