[clang] [analyzer][NFC] Document and centralize the CallEvent argument/parameter index mapping (PR #221252)
Benedek Kaibas via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 9 13:46:36 PDT 2026
================
@@ -420,6 +420,9 @@ class CallEvent {
/// Returns memory location for a parameter variable within the callee stack
/// frame. The behavior is undefined if the block count is different from the
/// one that is there when call happens. May fail; returns null on failure.
+ ///
+ /// \param Index refers to the index of the declared parameter of the callee.
+ /// See getDeclaredParameterIndex().
const ParamVarRegion *getParameterLocation(unsigned Index,
----------------
benedekaibas wrote:
Applied changes here: [0e7a71b](https://github.com/llvm/llvm-project/pull/221252/commits/0e7a71bc3d7705c088faad6ac46481a1048077d5)
https://github.com/llvm/llvm-project/pull/221252
More information about the cfe-commits
mailing list