Skip to content

Commit 66d2344

Browse files
Fix broken test, remove debug code
1 parent bf43554 commit 66d2344

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cpp/common/src/codingstandards/cpp/Cpp14Literal.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ module Cpp14Literal {
7474
* double floating = 1.340923e-19;
7575
* ```
7676
*/
77-
class FloatingLiteral extends RecognizedNumericLiteral {
77+
class FloatingLiteral extends NumericLiteral, RecognizedNumericLiteral {
7878
FloatingLiteral() {
7979
getValueText().regexpMatch("\\s*[0-9][0-9']*(\\.[0-9']+)?([eE][\\+\\-]?[0-9']+)?[flFL]?\\s*") and
8080
// A decimal literal takes precedent
@@ -101,8 +101,6 @@ module Cpp14Literal {
101101
}
102102
}
103103

104-
predicate test(RecognizedNumericLiteral r, string valueText) { valueText = r.getValueText() }
105-
106104
/**
107105
* A character literal. For example:
108106
* ```

0 commit comments

Comments
 (0)