C++: Autoformat.

This commit is contained in:
Geoffrey White
2021-06-07 11:01:00 +01:00
parent 799e19bdc2
commit 6f05fd4839
3 changed files with 9 additions and 4 deletions

View File

@@ -11,8 +11,10 @@ class Link extends Top {
* Gets the length of the longest line in file `f`.
*/
pragma[nomagic]
private int maxCols(File f) { result = max(Location l | l.getFile() = f | l.getStartColumn().maximum(l.getEndColumn())) }
private int maxCols(File f) {
result = max(Location l | l.getFile() = f | l.getStartColumn().maximum(l.getEndColumn()))
}
/**
* Gets the location of an element that has a link-to-definition (in a similar manner to
* `Location.charLoc`)