Files
codeql/cpp/ql/consistency-queries/nullInToString.ql
Paolo Tranquilli 5125835faf C++: Port to new just-based language test definition
Add justfiles for C++ following the pattern of other ported languages
(go, rust, swift). Move consistency queries from semmle-code's
semmlecode-cpp-consistency-queries/ to ql/cpp/ql/consistency-queries/.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-02 12:41:43 +02:00

6 lines
75 B
Plaintext

import cpp
from Element e
where e.toString().matches("%(null)%")
select e