Skip to content

Commit 6dd3f7f

Browse files
committed
CPP: remove old deprecated predicate that was recently updated by an automated patch of mine
1 parent 1e44585 commit 6dd3f7f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

cpp/ql/lib/semmle/code/cpp/commons/Printf.qll

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -408,13 +408,6 @@ class FormatLiteral extends Literal {
408408
*/
409409
FormattingFunctionCall getUse() { result.getFormat() = this }
410410

411-
/**
412-
* Holds if the default meaning of `%s` is a `wchar_t *`, rather than
413-
* a `char *` (either way, `%S` will have the opposite meaning).
414-
* DEPRECATED: Use getDefaultCharType() instead.
415-
*/
416-
deprecated predicate isWideCharDefault() { this.getUse().getTarget().isWideCharDefault() }
417-
418411
/**
419412
* Gets the default character type expected for `%s` by this format literal. Typically
420413
* `char` or `wchar_t`.

0 commit comments

Comments
 (0)