Update cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedStmt.qll

Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
This commit is contained in:
Mathias Vorreiter Pedersen
2026-01-15 14:41:13 +00:00
committed by GitHub
parent 4f4baee888
commit d6ca1ca846

View File

@@ -327,7 +327,7 @@ class TranslatedEmptyStmt extends TranslatedStmt {
TranslatedEmptyStmt() {
// An assertion macro invocation can expand to
// an empty statement in release builds. In that case
// we synthedsize the check that would have occurred.
// we synthesize the check that would have occurred.
// This is handled by `TranslatedAssertion.qll` and so
// we exclude these statements here.
not assertion(_, stmt) and