From 1df47cc747cce7eee04cae90c7e1b2790496f24f Mon Sep 17 00:00:00 2001 From: Jeroen Ketema Date: Thu, 13 Nov 2025 13:32:06 +0100 Subject: [PATCH] C++: Fix QL-for-QL warning --- cpp/ql/lib/semmle/code/cpp/Compilation.qll | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/cpp/ql/lib/semmle/code/cpp/Compilation.qll b/cpp/ql/lib/semmle/code/cpp/Compilation.qll index 716156acb44..c4b3796dec8 100644 --- a/cpp/ql/lib/semmle/code/cpp/Compilation.qll +++ b/cpp/ql/lib/semmle/code/cpp/Compilation.qll @@ -100,10 +100,12 @@ class Compilation extends @compilation { string getAnExpandedArgument() { result = this.getArgument(_) } /** - * The expanded arguments that were passed to the extractor for a - * compiler invocation. This is similar to `getArgument`, but - * for a `@someFile` argument, it includes the arguments from that - * file, rather than just taking the argument literally. + * Gets the `i`th expanded argument passed to the extractor on this + * invocation. + * + * This is similar to `getArgument`, but for a `@someFile` argument, it + * includes the arguments from that file, rather than just taking the + * argument literally. */ string getExpandedArgument(int i) { compilation_expanded_args(this, i, result) }