Skip to content

Commit 1c20714

Browse files
committed
C++: file QLDoc for AutogeneratedFile-Diagnostics
1 parent 732da9c commit 1c20714

File tree

6 files changed

+25
-0
lines changed

6 files changed

+25
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Provides a class and predicate for recognizing files that are likely to have been generated
3+
* automatically.
4+
*/
5+
16
import semmle.code.cpp.Comments
27
import semmle.code.cpp.File
38
import semmle.code.cpp.Preprocessor

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* Provides classes representing C++ classes, including structs, unions, and template classes.
3+
*/
4+
15
import semmle.code.cpp.Type
26
import semmle.code.cpp.UserType
37
import semmle.code.cpp.metrics.MetricClass

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* Provides classes representing C and C++ comments.
3+
*/
4+
15
import semmle.code.cpp.Location
26
import semmle.code.cpp.Element
37

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* Provides a class representing individual compiler invocations that occurred during the build.
3+
*/
4+
15
import semmle.code.cpp.File
26

37
/*

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* Provides classes for working with C and C++ declarations.
3+
*/
4+
15
import semmle.code.cpp.Element
26
import semmle.code.cpp.Specifier
37
import semmle.code.cpp.Namespace

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* Provides classes representing warnings generated during compilation.
3+
*/
4+
15
import semmle.code.cpp.Location
26

37
/** A compiler-generated error, warning or remark. */

0 commit comments

Comments
 (0)