File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
clang/lib/StaticAnalyzer/Checkers Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -183,14 +183,20 @@ class CheckerDocumentation
183
183
// /
184
184
// / This callback can be used to obtain information about potential branching
185
185
// / points or any other constructs that involve traversing a CFG edge.
186
- // / Note that when inlining a call, there is no CFG edge between the caller
187
- // / and the callee. One will only see the edge between the entry block and
188
- // / the body of the function once inlined.
189
186
// /
190
187
// / check::BranchCondition is a similar callback, which is only invoked for
191
188
// / pre-visiting the condition statement of a branch. Prefer that callback if
192
189
// / possible.
193
190
// /
191
+ // / \remark There is no CFG edge from the caller to a callee, consequently
192
+ // / this callback is not invoked for "inlining" a function call.
193
+ // / \remark Once a function call is inlined, we will start from the imaginary
194
+ // / "entry" basic block of that CFG. This callback will be invoked for
195
+ // / entering the real first basic block of the "inlined" function body from
196
+ // / that "entry" basic block.
197
+ // / \remark This callback is also invoked for entering the imaginary "exit"
198
+ // / basic block of the CFG when returning from a function.
199
+ // /
194
200
// / \param E The ProgramPoint that describes the transition.
195
201
// /
196
202
// / check::BlockEntrance
You can’t perform that action at this time.
0 commit comments