mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
C++: Autoformat.
This commit is contained in:
@@ -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`)
|
||||
|
||||
Reference in New Issue
Block a user