Also explicitly do not support functors for now, since that entails figuring out which call operator corresponds to the passed parameters.
Resolution: we really should not do body farming for templated C++ functions, even in seemingly trivial cases!
Details
Details
- Reviewers
dcoughlin NoQ zaks.anna danielmarjamaki - Commits
- rGbd4254c69235: [Analyzer] Correctly handle parameters passed by reference when bodyfarming std…
rC316249: [Analyzer] Correctly handle parameters passed by reference when bodyfarming std…
rL316249: [Analyzer] Correctly handle parameters passed by reference when bodyfarming std…
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Stylistically this looks pretty good to me. Just a minor nit.
lib/Analysis/BodyFarm.cpp | ||
---|---|---|
389 | ehm.. I would remove this blank |
Nit: 'i' doesn't match the naming conventions and it is not particularly descriptive. Perhaps "ParamIndex"?