[clang] [clang][dataflow] Propagate locations from result objects to initializers. (PR #87320)
Gábor Horváth via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 8 11:00:06 PDT 2024
================
@@ -556,6 +763,10 @@ void Environment::pushCallInternal(const FunctionDecl *FuncDecl,
const VarDecl *Param = *ParamIt;
setStorageLocation(*Param, createObject(*Param, Args[ArgIndex]));
}
+
+ ResultObjectMap = std::make_shared<PrValueToResultObject>(
----------------
Xazax-hun wrote:
I wonder if this is something that we might want to get cached. That being said, we'd probably want to benchmark first.
https://github.com/llvm/llvm-project/pull/87320
More information about the cfe-commits
mailing list