File tree Expand file tree Collapse file tree
cpp/ql/src/semmle/code/cpp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,16 +105,23 @@ class Location extends @location {
105105}
106106
107107/**
108+ * DEPRECATED: Use `Location` instead.
108109 * A location of an element. Not used for expressions or statements, which
109110 * instead use LocationExpr and LocationStmt respectively.
110111 */
111- library class LocationDefault extends Location , @location_default { }
112+ deprecated library class LocationDefault extends Location , @location_default { }
112113
113- /** A location of a statement. */
114- library class LocationStmt extends Location , @location_stmt { }
114+ /**
115+ * DEPRECATED: Use `Location` instead.
116+ * A location of a statement.
117+ */
118+ deprecated library class LocationStmt extends Location , @location_stmt { }
115119
116- /** A location of an expression. */
117- library class LocationExpr extends Location , @location_expr { }
120+ /**
121+ * DEPRECATED: Use `Location` instead.
122+ * A location of an expression.
123+ */
124+ deprecated library class LocationExpr extends Location , @location_expr { }
118125
119126/**
120127 * Gets the length of the longest line in file `f`.
You can’t perform that action at this time.
0 commit comments