Skip to content

Commit 18074d0

Browse files
committed
C++: Remove duplicated checks
These already occur in `isIdentityEscape`.
1 parent 7732801 commit 18074d0

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

cpp/ql/lib/semmle/code/cpp/regex/RegexTreeView.qll

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -573,9 +573,6 @@ private module Impl implements RegexTreeViewSig {
573573
* TODO: Handle named escapes.
574574
*/
575575
override string getValue() {
576-
not this.isUnicode() and
577-
not this.isHex() and
578-
not this.isControl() and
579576
this.isIdentityEscape() and
580577
result = this.getUnescaped()
581578
or

0 commit comments

Comments
 (0)