Skip to content

Commit d2ebe1e

Browse files
committed
Move LLVM classes to llvm folder
1 parent e8b45aa commit d2ebe1e

11 files changed

+12
-12
lines changed

src/dev/engine/CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ target_sources(scratchcpp
1010
internal/icodebuilderfactory.h
1111
internal/codebuilderfactory.cpp
1212
internal/codebuilderfactory.h
13-
internal/llvmcodebuilder.cpp
14-
internal/llvmcodebuilder.h
15-
internal/llvmexecutablecode.cpp
16-
internal/llvmexecutablecode.h
17-
internal/llvmexecutioncontext.cpp
18-
internal/llvmexecutioncontext.h
13+
internal/llvm/llvmcodebuilder.cpp
14+
internal/llvm/llvmcodebuilder.h
15+
internal/llvm/llvmexecutablecode.cpp
16+
internal/llvm/llvmexecutablecode.h
17+
internal/llvm/llvmexecutioncontext.cpp
18+
internal/llvm/llvmexecutioncontext.h
1919
)

src/dev/engine/internal/codebuilderfactory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: Apache-2.0
22

33
#include "codebuilderfactory.h"
4-
#include "llvmcodebuilder.h"
4+
#include "llvm/llvmcodebuilder.h"
55

66
using namespace libscratchcpp;
77

src/dev/engine/internal/llvmcodebuilder.h renamed to src/dev/engine/internal/llvm/llvmcodebuilder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include <llvm/IR/Module.h>
88
#include <llvm/IR/IRBuilder.h>
99

10-
#include "icodebuilder.h"
10+
#include "../icodebuilder.h"
1111

1212
namespace libscratchcpp
1313
{

test/dev/llvm/llvmcodebuilder_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <scratchcpp/sprite.h>
44
#include <scratchcpp/stage.h>
55
#include <scratchcpp/variable.h>
6-
#include <dev/engine/internal/llvmcodebuilder.h>
6+
#include <dev/engine/internal/llvm/llvmcodebuilder.h>
77
#include <gmock/gmock.h>
88
#include <targetmock.h>
99
#include <enginemock.h>

test/dev/llvm/llvmexecutablecode_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <scratchcpp/target.h>
22
#include <scratchcpp/value_functions.h>
3-
#include <dev/engine/internal/llvmexecutablecode.h>
4-
#include <dev/engine/internal/llvmexecutioncontext.h>
3+
#include <dev/engine/internal/llvm/llvmexecutablecode.h>
4+
#include <dev/engine/internal/llvm/llvmexecutioncontext.h>
55
#include <llvm/Support/TargetSelect.h>
66
#include <llvm/IR/IRBuilder.h>
77
#include <gmock/gmock.h>

test/dev/llvm/llvmexecutioncontext_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include <scratchcpp/target.h>
2-
#include <dev/engine/internal/llvmexecutioncontext.h>
2+
#include <dev/engine/internal/llvm/llvmexecutioncontext.h>
33
#include <gtest/gtest.h>
44

55
using namespace libscratchcpp;

0 commit comments

Comments
 (0)