CPP: Merge the Todo/FixmeComments tests.

This commit is contained in:
Geoffrey White
2018-11-12 15:25:20 +00:00
parent 03cad6c084
commit 1417929cdf
8 changed files with 4 additions and 5 deletions

View File

@@ -1 +0,0 @@
todo_fixme.cpp text eol=lf

View File

@@ -1,3 +0,0 @@
| todo_fixme.cpp:1:1:1:17 | // TODO: Thing 1. | TODO comment: Thing 1. |
| todo_fixme.cpp:2:1:2:20 | /* TODO: Thing 2. */ | TODO comment: Thing 2. |
| todo_fixme.cpp:3:1:5:3 | /**\n * TODO: Thing 3.\n */ | TODO comment: Thing 3. |

View File

@@ -1 +0,0 @@
Documentation/TodoComments.ql

View File

@@ -1 +1,2 @@
todo.c text eol=lf
todo_fixme.cpp text eol=lf

View File

@@ -6,3 +6,6 @@
| todo.c:17:1:21:15 | /* Some comment\n * TODO This is a mid-comment\n * multi-line comment with two\n * TODO comments\n * inside it */ | TODO comment: comments [...] |
| todo.c:23:1:23:53 | /* TODO This comment mentions TODO in its body too */ | TODO comment: This comment mentions TODO in its body too |
| todo.c:25:1:25:40 | // TODO: Can have C++-style comments too | TODO comment: Can have C++-style comments too |
| todo_fixme.cpp:1:1:1:17 | // TODO: Thing 1. | TODO comment: Thing 1. |
| todo_fixme.cpp:2:1:2:20 | /* TODO: Thing 2. */ | TODO comment: Thing 2. |
| todo_fixme.cpp:3:1:5:3 | /**\n * TODO: Thing 3.\n */ | TODO comment: Thing 3. |