Skip to content

Commit 2d58150

Browse files
committed
C++: Fix Copilot comments.
1 parent 9f211ce commit 2d58150

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cpp/ql/lib/semmle/code/cpp/dataflow/ExternalFlow.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ private predicate isClassConstructedFrom(Class c, Class templateClass) {
276276
not c.isConstructedFrom(_) and c = templateClass
277277
}
278278

279-
/** Gets the fully templated version of `f`. */
279+
/** Gets the fully templated version of `c`. */
280280
private Class getFullyTemplatedClassOld(Class c) {
281281
not c.isFromUninstantiatedTemplate(_) and
282282
isClassConstructedFrom(c, result)
@@ -289,7 +289,7 @@ private TemplateClass getOriginalClassTemplate(TemplateClass tc) {
289289
result = tc
290290
}
291291

292-
/** Gets the fully templated version of `f`. */
292+
/** Gets the fully templated version of `c`. */
293293
private Class getFullyTemplatedClassNew(Class c) {
294294
not c.isFromUninstantiatedTemplate(_) and
295295
exists(Class mid |

0 commit comments

Comments
 (0)