Skip to content

Commit 4dcdd8a

Browse files
author
Dave Bartolomeo
committed
C++: Add last remaining QLDoc to Opcode.qll
1 parent bdf121f commit 4dcdd8a

File tree

2 files changed

+12
-0
lines changed
  • cpp/ql/src/semmle/code/cpp/ir/implementation
  • csharp/ql/src/experimental/ir/implementation

2 files changed

+12
-0
lines changed

cpp/ql/src/semmle/code/cpp/ir/implementation/Opcode.qll

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Provides `Opcode`s that specify the operation performed by an `Instruction`, as well as metadata
3+
* about those opcodes, such as operand kinds and memory accesses.
4+
*/
5+
16
private import internal.OpcodeImports as Imports
27
private import internal.OperandTag
38
import Imports::MemoryAccessKind
@@ -87,6 +92,7 @@ private newtype TOpcode =
8792
TNewObj()
8893

8994
class Opcode extends TOpcode {
95+
/** Gets a textual representation of this element. */
9096
string toString() { result = "UnknownOpcode" }
9197

9298
/**

csharp/ql/src/experimental/ir/implementation/Opcode.qll

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Provides `Opcode`s that specify the operation performed by an `Instruction`, as well as metadata
3+
* about those opcodes, such as operand kinds and memory accesses.
4+
*/
5+
16
private import internal.OpcodeImports as Imports
27
private import internal.OperandTag
38
import Imports::MemoryAccessKind
@@ -87,6 +92,7 @@ private newtype TOpcode =
8792
TNewObj()
8893

8994
class Opcode extends TOpcode {
95+
/** Gets a textual representation of this element. */
9096
string toString() { result = "UnknownOpcode" }
9197

9298
/**

0 commit comments

Comments
 (0)