From d183dcd6fc9fd5b977e7f3cda59ec63433d4aed6 Mon Sep 17 00:00:00 2001 From: Mathias Vorreiter Pedersen Date: Mon, 19 Jan 2026 12:04:12 +0000 Subject: [PATCH] C++: Add 'internal: do not use' comment. --- cpp/ql/lib/semmle/code/cpp/Element.qll | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cpp/ql/lib/semmle/code/cpp/Element.qll b/cpp/ql/lib/semmle/code/cpp/Element.qll index ffc0ede4daf..17af69eddac 100644 --- a/cpp/ql/lib/semmle/code/cpp/Element.qll +++ b/cpp/ql/lib/semmle/code/cpp/Element.qll @@ -192,7 +192,11 @@ class Element extends ElementBase { */ predicate isAffectedByMacro() { affectedByMacro(this) } - /** Holds if this element is affected by the expansion of `mi`. */ + /** + * INTERNAL: Do not use. + * + * Holds if this element is affected by the expansion of `mi`. + */ predicate isAffectedByMacro(MacroInvocation mi) { affectedbymacroexpansion(underlyingElement(this), unresolveElement(mi)) }