Skip to content

Commit 1d04c89

Browse files
committed
C++: Autoformat.
1 parent 5124660 commit 1d04c89

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

cpp/ql/src/Best Practices/Hiding/DeclarationHidesParameter.ql

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@ import cpp
1515
* Gets the template that a function `f` is constructed from, or just `f` if it
1616
* is not from a template instantiation.
1717
*/
18-
Function getConstructedFrom(Function f)
19-
{
18+
Function getConstructedFrom(Function f) {
2019
exists(Function mid |
2120
f.isConstructedFrom(mid) and
2221
result = getConstructedFrom(mid)
23-
) or (
24-
not f.isConstructedFrom(_) and
25-
result = f
2622
)
23+
or
24+
not f.isConstructedFrom(_) and
25+
result = f
2726
}
2827

2928
/**

0 commit comments

Comments
 (0)