We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7af866e commit b07f1e1Copy full SHA for b07f1e1
2 files changed
src/engine/internal/llvm/llvminstructionlist.cpp
@@ -7,12 +7,12 @@
7
8
using namespace libscratchcpp;
9
10
-LLVMInstruction *LLVMInstructionList::first()
+LLVMInstruction *LLVMInstructionList::first() const
11
{
12
return m_first.get();
13
}
14
15
-LLVMInstruction *LLVMInstructionList::last()
+LLVMInstruction *LLVMInstructionList::last() const
16
17
return m_last.get();
18
src/engine/internal/llvm/llvminstructionlist.h
@@ -15,8 +15,8 @@ class LLVMInstructionList
LLVMInstructionList() = default;
LLVMInstructionList(const LLVMInstructionList &) = delete;
- LLVMInstruction *first();
19
- LLVMInstruction *last();
+ LLVMInstruction *first() const;
+ LLVMInstruction *last() const;
20
21
void addInstruction(std::shared_ptr<LLVMInstruction> ins);
22
0 commit comments