Skip to content

Commit 1df843c

Browse files
committed
C++: QLDoc multiple files in the exprs directory.
1 parent b7730fb commit 1df843c

File tree

9 files changed

+44
-1
lines changed

9 files changed

+44
-1
lines changed

cpp/ql/src/semmle/code/cpp/exprs/Access.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Provides classes for modeling accesses including variable accesses, enum
3+
* constant accesses and function accesses.
4+
*/
5+
16
import semmle.code.cpp.exprs.Expr
27
import semmle.code.cpp.Variable
38
import semmle.code.cpp.Enum

cpp/ql/src/semmle/code/cpp/exprs/ArithmeticOperation.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Provides classes for modeling arithmetic operations such as `+`, `-`, `*`
3+
* and `++`.
4+
*/
5+
16
import semmle.code.cpp.exprs.Expr
27

38
/**

cpp/ql/src/semmle/code/cpp/exprs/BitwiseOperation.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Provides classes for modeling bitwise operations such as `~`, `<<`, `&` and
3+
* `|`.
4+
*/
5+
16
import semmle.code.cpp.exprs.Expr
27

38
/**

cpp/ql/src/semmle/code/cpp/exprs/BuiltInOperations.qll

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
/**
2+
* Provides classes for modeling built-in operations. Built-in operations are
3+
* typically compiler specific and are used by libraries and generated code.
4+
*/
5+
16
import semmle.code.cpp.exprs.Expr
27

38
/**
4-
* A C/C++ builtin operation. This is the root QL class encompassing
9+
* A C/C++ built-in operation. This is the root QL class encompassing
510
* built-in functionality.
611
*/
712
class BuiltInOperation extends Expr, @builtin_op {

cpp/ql/src/semmle/code/cpp/exprs/Call.qll

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* Provides classes for modeling call expressions including direct calls to
3+
* functions, constructor and destructor calls, and calls made through function
4+
* pointers.
5+
*/
6+
17
import semmle.code.cpp.exprs.Expr
28
import semmle.code.cpp.Function
39
private import semmle.code.cpp.dataflow.EscapesTree

cpp/ql/src/semmle/code/cpp/exprs/ComparisonOperation.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* Provides classes for modeling comparisons such as `==`, `!=` and `<`.
3+
*/
4+
15
import semmle.code.cpp.exprs.Expr
26

37
/**

cpp/ql/src/semmle/code/cpp/exprs/Expr.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* Provides classes modeling C/C++ expressions.
3+
*/
4+
15
import semmle.code.cpp.Element
26
private import semmle.code.cpp.Enclosing
37
private import semmle.code.cpp.internal.ResolveClass

cpp/ql/src/semmle/code/cpp/exprs/Lambda.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* Provides classes for modeling lambda expressions and their captures.
3+
*/
4+
15
import semmle.code.cpp.exprs.Expr
26
import semmle.code.cpp.Class
37

cpp/ql/src/semmle/code/cpp/exprs/LogicalOperation.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Provides classes for modeling logical operations such as `!`, `&&`, `||`, and
3+
* the ternary `? :` expression.
4+
*/
5+
16
import semmle.code.cpp.exprs.Expr
27

38
/**

0 commit comments

Comments
 (0)