Merge pull request #2123 from geoffw0/comparison2

CPP: Reword ComparisonPrecedence.ql query message.
This commit is contained in:
Ziemowit Łąski
2019-10-24 12:05:59 -07:00
committed by GitHub
2 changed files with 10 additions and 10 deletions

View File

@@ -18,4 +18,4 @@ where
co.getAChild() = chco and
not chco.isParenthesised() and
not co.isFromUninstantiatedTemplate(_)
select co, "Check the comparison operator precedence."
select co, "Comparison as an operand to another comparison."

View File

@@ -1,9 +1,9 @@
| template.cpp:4:7:4:15 | ... < ... | Check the comparison operator precedence. |
| test.cpp:42:6:42:14 | ... < ... | Check the comparison operator precedence. |
| test.cpp:43:6:43:14 | ... > ... | Check the comparison operator precedence. |
| test.cpp:44:6:44:16 | ... <= ... | Check the comparison operator precedence. |
| test.cpp:45:6:45:16 | ... <= ... | Check the comparison operator precedence. |
| test.cpp:46:6:46:14 | ... > ... | Check the comparison operator precedence. |
| test.cpp:50:6:50:32 | ... < ... | Check the comparison operator precedence. |
| test.cpp:51:6:51:18 | ... < ... | Check the comparison operator precedence. |
| test.cpp:54:8:54:16 | ... < ... | Check the comparison operator precedence. |
| template.cpp:4:7:4:15 | ... < ... | Comparison as an operand to another comparison. |
| test.cpp:42:6:42:14 | ... < ... | Comparison as an operand to another comparison. |
| test.cpp:43:6:43:14 | ... > ... | Comparison as an operand to another comparison. |
| test.cpp:44:6:44:16 | ... <= ... | Comparison as an operand to another comparison. |
| test.cpp:45:6:45:16 | ... <= ... | Comparison as an operand to another comparison. |
| test.cpp:46:6:46:14 | ... > ... | Comparison as an operand to another comparison. |
| test.cpp:50:6:50:32 | ... < ... | Comparison as an operand to another comparison. |
| test.cpp:51:6:51:18 | ... < ... | Comparison as an operand to another comparison. |
| test.cpp:54:8:54:16 | ... < ... | Comparison as an operand to another comparison. |