Files
codeql/cpp/ql/test/library-tests/funcdname/funcdname.ql
2025-06-04 14:03:43 +02:00

10 lines
251 B
Plaintext

import cpp
from Function f, ReturnStmt r
where r.getEnclosingFunction() = f
select f.getQualifiedName(),
r.getExpr()
.getValue()
.regexpReplaceAll("_[0-9a-f]+AEv$", "_?AEv")
.regexpReplaceAll("cpp_[0-9a-f]+Foo37_", "cpp_?Foo37_")