Skip to content

Commit a5a244f

Browse files
committed
CPP: delete old deprecations
1 parent e83cc59 commit a5a244f

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: minorAnalysis
3+
---
4+
* Deleted the deprecated `getName` and `getShortName` predicates from the `Folder` class.

cpp/ql/lib/semmle/code/cpp/File.qll

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -189,18 +189,6 @@ class Folder extends Container, @folder {
189189
* Gets the URL of this folder.
190190
*/
191191
deprecated override string getURL() { result = "file://" + this.getAbsolutePath() + ":0:0:0:0" }
192-
193-
/**
194-
* DEPRECATED: use `getAbsolutePath` instead.
195-
* Gets the name of this folder.
196-
*/
197-
deprecated string getName() { folders(underlyingElement(this), result) }
198-
199-
/**
200-
* DEPRECATED: use `getBaseName` instead.
201-
* Gets the last part of the folder name.
202-
*/
203-
deprecated string getShortName() { result = this.getBaseName() }
204192
}
205193

206194
/**

0 commit comments

Comments
 (0)