We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49e1467 commit c68d3c5Copy full SHA for c68d3c5
cpp/ql/src/Security/CWE/CWE-416/Temporaries.qll
@@ -45,7 +45,7 @@ predicate isStoredInContainer(Expr e) {
45
/**
46
* Holds if `e` or a conversion of `e` has an lvalue-to-rvalue conversion.
47
*/
48
-predicate hasLValueToRValueConversion(Expr e) {
+private predicate hasLValueToRValueConversion(Expr e) {
49
e.getConversion*().hasLValueToRValueConversion() and
50
not e instanceof ConditionalExpr // ConditionalExpr may be spuriously reported as having an lvalue-to-rvalue conversion
51
}
0 commit comments