mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
C++: Add a skeleton class for requires expressions
This commit is contained in:
14
cpp/ql/lib/semmle/code/cpp/Concept.qll
Normal file
14
cpp/ql/lib/semmle/code/cpp/Concept.qll
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Provides classes for working with C++ concepts.
|
||||
*/
|
||||
|
||||
import semmle.code.cpp.exprs.Expr
|
||||
|
||||
/**
|
||||
* A C/C++ requires expression.
|
||||
*/
|
||||
class RequiresExpr extends Expr, @requires_expr {
|
||||
override string toString() { result = "requires ..." }
|
||||
|
||||
override string getAPrimaryQlClass() { result = "RequiresExpr" }
|
||||
}
|
||||
Reference in New Issue
Block a user