From 842860d7caec4b0a8664959b2bbee63241f7c2c3 Mon Sep 17 00:00:00 2001 From: Max Schaefer Date: Tue, 7 Jul 2020 10:56:41 +0100 Subject: [PATCH] Port Location qldoc update. cf https://github.com/github/codeql/pull/3907 --- ql/src/semmle/go/Locations.qll | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ql/src/semmle/go/Locations.qll b/ql/src/semmle/go/Locations.qll index 7c9a671c0..4fb69be21 100644 --- a/ql/src/semmle/go/Locations.qll +++ b/ql/src/semmle/go/Locations.qll @@ -12,16 +12,16 @@ class Location extends @location { /** Gets the file for this location. */ File getFile() { locations_default(this, result, _, _, _, _) } - /** Gets the start line of this location. */ + /** Gets the 1-based line number (inclusive) where this location starts. */ int getStartLine() { locations_default(this, _, result, _, _, _) } - /** Gets the start column of this location. */ + /** Gets the 1-based column number (inclusive) where this location starts. */ int getStartColumn() { locations_default(this, _, _, result, _, _) } - /** Gets the end line of this location. */ + /** Gets the 1-based line number (inclusive) where this location ends. */ int getEndLine() { locations_default(this, _, _, _, result, _) } - /** Gets the end column of this location. */ + /** Gets the 1-based column number (inclusive) where this location ends. */ int getEndColumn() { locations_default(this, _, _, _, _, result) } /** Gets the number of lines covered by this location. */