File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
cpp/ql/src/Best Practices/Likely Errors Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import semmle.code.cpp.commons.Exclusions
2020 * Gets a child of `e`, including conversions but excluding call arguments.
2121 */
2222pragma [ inline]
23- Expr childWithConversions ( Expr e ) {
23+ Expr getAChildWithConversions ( Expr e ) {
2424 result .getParentWithConversions ( ) = e and
2525 not result = any ( Call c ) .getAnArgument ( )
2626}
@@ -31,7 +31,7 @@ Expr childWithConversions(Expr e) {
3131 */
3232int getCandidateColumn ( Expr e ) {
3333 result = e .getLocation ( ) .getStartColumn ( ) or
34- result = getCandidateColumn ( childWithConversions ( e ) )
34+ result = getCandidateColumn ( getAChildWithConversions ( e ) )
3535}
3636
3737/**
@@ -44,7 +44,7 @@ Expr normalizeExpr(Expr e) {
4444 result = e
4545 or
4646 not e .getLocation ( ) .getStartColumn ( ) = min ( getCandidateColumn ( e ) ) and
47- result = normalizeExpr ( childWithConversions ( e ) ) and
47+ result = normalizeExpr ( getAChildWithConversions ( e ) ) and
4848 result .getLocation ( ) .getStartColumn ( ) = min ( getCandidateColumn ( e ) )
4949}
5050
You can’t perform that action at this time.
0 commit comments