mirror of
https://github.com/github/codeql.git
synced 2026-05-04 13:15:21 +02:00
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:
committed by
GitHub
parent
4f4baee888
commit
d6ca1ca846
@@ -327,7 +327,7 @@ class TranslatedEmptyStmt extends TranslatedStmt {
|
|||||||
TranslatedEmptyStmt() {
|
TranslatedEmptyStmt() {
|
||||||
// An assertion macro invocation can expand to
|
// An assertion macro invocation can expand to
|
||||||
// an empty statement in release builds. In that case
|
// 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
|
// This is handled by `TranslatedAssertion.qll` and so
|
||||||
// we exclude these statements here.
|
// we exclude these statements here.
|
||||||
not assertion(_, stmt) and
|
not assertion(_, stmt) and
|
||||||
|
|||||||
Reference in New Issue
Block a user