We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ceec027 commit 2d2890eCopy full SHA for 2d2890e
cpp/ql/src/semmle/code/cpp/Parameter.qll
@@ -3,7 +3,18 @@ import semmle.code.cpp.Declaration
3
private import semmle.code.cpp.internal.ResolveClass
4
5
/**
6
- * A C/C++ function parameter or catch block parameter.
+ * A C/C++ function parameter or catch block parameter. For example the
7
+ * function parameter `p` and the catch block parameter `e` in the following
8
+ * code:
9
+ * ```
10
+ * void myFunction(int p) {
11
+ * try {
12
+ * ...
13
+ * } catch (const std::exception &e) {
14
15
+ * }
16
17
18
*
19
* For catch block parameters, there is a one-to-one correspondence between
20
* the `Parameter` and its `ParameterDeclarationEntry`.
0 commit comments