Skip to content

Commit 2160edc

Browse files
committed
C++: Clean up bits I didn't finish.
1 parent 1f928c2 commit 2160edc

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

cpp/ql/src/semmle/code/cpp/Specifier.qll

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ class Specifier extends Element, @specifier {
2929

3030
/**
3131
* A C/C++ function specifier: `inline`, `virtual`, or `explicit`.
32-
* TODO
3332
*/
3433
class FunctionSpecifier extends Specifier {
3534
FunctionSpecifier() {
@@ -44,7 +43,6 @@ class FunctionSpecifier extends Specifier {
4443
/**
4544
* A C/C++ storage class specifier: `auto`, `register`, `static`, `extern`,
4645
* or `mutable".
47-
* TODO
4846
*/
4947
class StorageClassSpecifier extends Specifier {
5048
StorageClassSpecifier() {
@@ -60,7 +58,6 @@ class StorageClassSpecifier extends Specifier {
6058

6159
/**
6260
* A C++ access specifier: `public`, `protected`, or `private`.
63-
* TODO
6461
*/
6562
class AccessSpecifier extends Specifier {
6663
AccessSpecifier() {
@@ -149,14 +146,12 @@ class Attribute extends Element, @attribute {
149146
/**
150147
* An attribute introduced by GNU's `__attribute__((name))` syntax, for
151148
* example: `__attribute__((__noreturn__))`.
152-
* TODO
153149
*/
154150
class GnuAttribute extends Attribute, @gnuattribute { }
155151

156152
/**
157153
* An attribute introduced by the C++11 standard `[[name]]` syntax, for
158154
* example: `[[clang::fallthrough]]`.
159-
* TODO
160155
*/
161156
class StdAttribute extends Attribute, @stdattribute {
162157
/**
@@ -185,11 +180,7 @@ class StdAttribute extends Attribute, @stdattribute {
185180
class Declspec extends Attribute, @declspec { }
186181

187182
/**
188-
* An attribute introduced by Microsoft's "[name]" syntax. For example
189-
* ```
190-
* [SA_Pre(Deref=1,Access=SA_Read)]
191-
* TODO
192-
* ```
183+
* An attribute introduced by Microsoft's "[name]" syntax, for example "[SA_Pre(Deref=1,Access=SA_Read)]".
193184
*/
194185
class MicrosoftAttribute extends Attribute, @msattribute {
195186
AttributeArgument getNamedArgument(string name) {

0 commit comments

Comments
 (0)