C++: Add deprecated to predicates that are deprecated according to the QLDoc

This commit is contained in:
Jeroen Ketema
2023-03-03 17:15:47 +01:00
parent 2ee8344e92
commit 391d9bed5b
3 changed files with 5 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ class Function extends Declaration, ControlFlowNode, AccessHolder, @function {
* `min<int>(int, int) -> int`, and the full signature of the uninstantiated
* template on the first line would be `min<T>(T, T) -> T`.
*/
string getFullSignature() {
deprecated string getFullSignature() {
exists(string name, string templateArgs, string args |
result = name + templateArgs + args + " -> " + this.getType().toString() and
name = this.getQualifiedName() and