Skip to content

Commit 058925c

Browse files
committed
C++: Do not inline Dominance::hasMultiScopeNode
1 parent 310baab commit 058925c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/ql/src/semmle/code/cpp/controlflow/Dominance.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import cpp
1414
* In rare cases, the same node is used in multiple control-flow scopes. This
1515
* confuses the dominance analysis, so this predicate is used to exclude them.
1616
*/
17+
pragma[noinline]
1718
private predicate hasMultiScopeNode(Function f) {
1819
exists(ControlFlowNode node |
1920
node.getControlFlowScope() = f and

0 commit comments

Comments
 (0)