Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 0 additions & 79 deletions rust/ql/.generated.list

Large diffs are not rendered by default.

79 changes: 0 additions & 79 deletions rust/ql/.gitattributes

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions rust/ql/lib/codeql/rust/elements/internal/AbiImpl.qll
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// generated by codegen, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `Abi`.
*
Expand All @@ -12,6 +11,7 @@ private import codeql.rust.elements.internal.generated.Abi
* be referenced directly.
*/
module Impl {
// the following QLdoc is generated: if you need to edit it, do it in the schema file
/**
* An ABI specification for an extern function or block.
*
Expand All @@ -21,5 +21,7 @@ module Impl {
* // ^^^
* ```
*/
class Abi extends Generated::Abi { }
class Abi extends Generated::Abi {
override string toStringImpl() { result = this.getAPrimaryQlClass() }
}
}
6 changes: 4 additions & 2 deletions rust/ql/lib/codeql/rust/elements/internal/ArgListImpl.qll
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// generated by codegen, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `ArgList`.
*
Expand All @@ -12,6 +11,7 @@ private import codeql.rust.elements.internal.generated.ArgList
* be referenced directly.
*/
module Impl {
// the following QLdoc is generated: if you need to edit it, do it in the schema file
/**
* A list of arguments in a function or method call.
*
Expand All @@ -21,5 +21,7 @@ module Impl {
* // ^^^^^^^^^
* ```
*/
class ArgList extends Generated::ArgList { }
class ArgList extends Generated::ArgList {
override string toStringImpl() { result = this.getAPrimaryQlClass() }
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// generated by codegen, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `ArrayExprInternal`.
*
Expand All @@ -12,5 +11,7 @@ private import codeql.rust.elements.internal.generated.ArrayExprInternal
* be referenced directly.
*/
module Impl {
class ArrayExprInternal extends Generated::ArrayExprInternal { }
class ArrayExprInternal extends Generated::ArrayExprInternal {
override string toStringImpl() { result = this.getAPrimaryQlClass() }
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// generated by codegen, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `ArrayTypeRepr`.
*
Expand All @@ -12,6 +11,7 @@ private import codeql.rust.elements.internal.generated.ArrayTypeRepr
* be referenced directly.
*/
module Impl {
// the following QLdoc is generated: if you need to edit it, do it in the schema file
/**
* An array type representation.
*
Expand All @@ -21,5 +21,7 @@ module Impl {
* // ^^^^^^^^
* ```
*/
class ArrayTypeRepr extends Generated::ArrayTypeRepr { }
class ArrayTypeRepr extends Generated::ArrayTypeRepr {
override string toStringImpl() { result = this.getAPrimaryQlClass() }
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// generated by codegen, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AsmClobberAbi`.
*
Expand All @@ -12,6 +11,7 @@ private import codeql.rust.elements.internal.generated.AsmClobberAbi
* be referenced directly.
*/
module Impl {
// the following QLdoc is generated: if you need to edit it, do it in the schema file
/**
* A clobbered ABI in an inline assembly block.
*
Expand All @@ -22,5 +22,7 @@ module Impl {
* // ^^^^^^^^^^^^^^^^
* ```
*/
class AsmClobberAbi extends Generated::AsmClobberAbi { }
class AsmClobberAbi extends Generated::AsmClobberAbi {
override string toStringImpl() { result = this.getAPrimaryQlClass() }
}
}
6 changes: 4 additions & 2 deletions rust/ql/lib/codeql/rust/elements/internal/AsmConstImpl.qll
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// generated by codegen, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AsmConst`.
*
Expand All @@ -12,6 +11,7 @@ private import codeql.rust.elements.internal.generated.AsmConst
* be referenced directly.
*/
module Impl {
// the following QLdoc is generated: if you need to edit it, do it in the schema file
/**
* A constant operand in an inline assembly block.
*
Expand All @@ -22,5 +22,7 @@ module Impl {
* // ^^^^^^^
* ```
*/
class AsmConst extends Generated::AsmConst { }
class AsmConst extends Generated::AsmConst {
override string toStringImpl() { result = this.getAPrimaryQlClass() }
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// generated by codegen, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AsmDirSpec`.
*
Expand All @@ -12,6 +11,7 @@ private import codeql.rust.elements.internal.generated.AsmDirSpec
* be referenced directly.
*/
module Impl {
// the following QLdoc is generated: if you need to edit it, do it in the schema file
/**
* An inline assembly direction specifier.
*
Expand All @@ -22,5 +22,7 @@ module Impl {
* // ^^^ ^^
* ```
*/
class AsmDirSpec extends Generated::AsmDirSpec { }
class AsmDirSpec extends Generated::AsmDirSpec {
override string toStringImpl() { result = this.getAPrimaryQlClass() }
}
}
6 changes: 4 additions & 2 deletions rust/ql/lib/codeql/rust/elements/internal/AsmExprImpl.qll
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// generated by codegen, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AsmExpr`.
*
Expand All @@ -12,6 +11,7 @@ private import codeql.rust.elements.internal.generated.AsmExpr
* be referenced directly.
*/
module Impl {
// the following QLdoc is generated: if you need to edit it, do it in the schema file
/**
* An inline assembly expression. For example:
* ```rust
Expand All @@ -21,5 +21,7 @@ module Impl {
* }
* ```
*/
class AsmExpr extends Generated::AsmExpr { }
class AsmExpr extends Generated::AsmExpr {
override string toStringImpl() { result = this.getAPrimaryQlClass() }
}
}
6 changes: 4 additions & 2 deletions rust/ql/lib/codeql/rust/elements/internal/AsmLabelImpl.qll
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// generated by codegen, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AsmLabel`.
*
Expand All @@ -12,6 +11,7 @@ private import codeql.rust.elements.internal.generated.AsmLabel
* be referenced directly.
*/
module Impl {
// the following QLdoc is generated: if you need to edit it, do it in the schema file
/**
* A label in an inline assembly block.
*
Expand All @@ -25,5 +25,7 @@ module Impl {
* );
* ```
*/
class AsmLabel extends Generated::AsmLabel { }
class AsmLabel extends Generated::AsmLabel {
override string toStringImpl() { result = this.getAPrimaryQlClass() }
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// generated by codegen, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AsmOperandExpr`.
*
Expand All @@ -12,6 +11,7 @@ private import codeql.rust.elements.internal.generated.AsmOperandExpr
* be referenced directly.
*/
module Impl {
// the following QLdoc is generated: if you need to edit it, do it in the schema file
/**
* An operand expression in an inline assembly block.
*
Expand All @@ -22,5 +22,7 @@ module Impl {
* // ^ ^
* ```
*/
class AsmOperandExpr extends Generated::AsmOperandExpr { }
class AsmOperandExpr extends Generated::AsmOperandExpr {
override string toStringImpl() { result = this.getAPrimaryQlClass() }
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// generated by codegen, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AsmOperandNamed`.
*
Expand All @@ -12,6 +11,7 @@ private import codeql.rust.elements.internal.generated.AsmOperandNamed
* be referenced directly.
*/
module Impl {
// the following QLdoc is generated: if you need to edit it, do it in the schema file
/**
* A named operand in an inline assembly block.
*
Expand All @@ -22,5 +22,7 @@ module Impl {
* // ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^
* ```
*/
class AsmOperandNamed extends Generated::AsmOperandNamed { }
class AsmOperandNamed extends Generated::AsmOperandNamed {
override string toStringImpl() { result = this.getAPrimaryQlClass() }
}
}
6 changes: 4 additions & 2 deletions rust/ql/lib/codeql/rust/elements/internal/AsmOptionImpl.qll
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// generated by codegen, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AsmOption`.
*
Expand All @@ -12,6 +11,7 @@ private import codeql.rust.elements.internal.generated.AsmOption
* be referenced directly.
*/
module Impl {
// the following QLdoc is generated: if you need to edit it, do it in the schema file
/**
* An option in an inline assembly block.
*
Expand All @@ -22,5 +22,7 @@ module Impl {
* // ^^^^^^^^^^^^^^^^
* ```
*/
class AsmOption extends Generated::AsmOption { }
class AsmOption extends Generated::AsmOption {
override string toStringImpl() { result = this.getAPrimaryQlClass() }
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// generated by codegen, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AsmOptionsList`.
*
Expand All @@ -12,6 +11,7 @@ private import codeql.rust.elements.internal.generated.AsmOptionsList
* be referenced directly.
*/
module Impl {
// the following QLdoc is generated: if you need to edit it, do it in the schema file
/**
* A list of options in an inline assembly block.
*
Expand All @@ -22,5 +22,7 @@ module Impl {
* // ^^^^^^^^^^^^^^^^
* ```
*/
class AsmOptionsList extends Generated::AsmOptionsList { }
class AsmOptionsList extends Generated::AsmOptionsList {
override string toStringImpl() { result = this.getAPrimaryQlClass() }
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// generated by codegen, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AsmRegOperand`.
*
Expand All @@ -12,6 +11,7 @@ private import codeql.rust.elements.internal.generated.AsmRegOperand
* be referenced directly.
*/
module Impl {
// the following QLdoc is generated: if you need to edit it, do it in the schema file
/**
* A register operand in an inline assembly block.
*
Expand All @@ -22,5 +22,7 @@ module Impl {
* // ^ ^
* ```
*/
class AsmRegOperand extends Generated::AsmRegOperand { }
class AsmRegOperand extends Generated::AsmRegOperand {
override string toStringImpl() { result = this.getAPrimaryQlClass() }
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// generated by codegen, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AsmRegSpec`.
*
Expand All @@ -12,6 +11,7 @@ private import codeql.rust.elements.internal.generated.AsmRegSpec
* be referenced directly.
*/
module Impl {
// the following QLdoc is generated: if you need to edit it, do it in the schema file
/**
* A register specification in an inline assembly block.
*
Expand All @@ -22,5 +22,7 @@ module Impl {
* // ^^^ ^^^
* ```
*/
class AsmRegSpec extends Generated::AsmRegSpec { }
class AsmRegSpec extends Generated::AsmRegSpec {
override string toStringImpl() { result = this.getAPrimaryQlClass() }
}
}
6 changes: 4 additions & 2 deletions rust/ql/lib/codeql/rust/elements/internal/AsmSymImpl.qll
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// generated by codegen, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AsmSym`.
*
Expand All @@ -12,6 +11,7 @@ private import codeql.rust.elements.internal.generated.AsmSym
* be referenced directly.
*/
module Impl {
// the following QLdoc is generated: if you need to edit it, do it in the schema file
/**
* A symbol operand in an inline assembly block.
*
Expand All @@ -22,5 +22,7 @@ module Impl {
* // ^^^^^^^^^^^^^^^^^^^^^^
* ```
*/
class AsmSym extends Generated::AsmSym { }
class AsmSym extends Generated::AsmSym {
override string toStringImpl() { result = this.getAPrimaryQlClass() }
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// generated by codegen, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AssocItemList`.
*
Expand All @@ -12,8 +11,11 @@ private import codeql.rust.elements.internal.generated.AssocItemList
* be referenced directly.
*/
module Impl {
// the following QLdoc is generated: if you need to edit it, do it in the schema file
/**
* A list of `AssocItem` elements, as appearing in a `Trait` or `Impl`.
*/
class AssocItemList extends Generated::AssocItemList { }
class AssocItemList extends Generated::AssocItemList {
override string toStringImpl() { result = this.getAPrimaryQlClass() }
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// generated by codegen, remove this comment if you wish to edit this file
/**
* This module provides a hand-modifiable wrapper around the generated class `AssocTypeArg`.
*
Expand All @@ -12,6 +11,7 @@ private import codeql.rust.elements.internal.generated.AssocTypeArg
* be referenced directly.
*/
module Impl {
// the following QLdoc is generated: if you need to edit it, do it in the schema file
/**
* An associated type argument in a path.
*
Expand All @@ -26,5 +26,7 @@ module Impl {
* }
* ```
*/
class AssocTypeArg extends Generated::AssocTypeArg { }
class AssocTypeArg extends Generated::AssocTypeArg {
override string toStringImpl() { result = this.getAPrimaryQlClass() }
}
}
Loading
Loading