-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from ITcarrot/PullRequest
修复task3无法在gcc13环境下通过编译的问题,修复task3、task4无法在手动编译安装clang-14的环境下通过编译的问题,修正IRBuilder在代码块间切换的方法
- Loading branch information
Showing
4 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
file(GLOB _src *.cpp *.hpp *.c *.h) | ||
add_executable(task3 ${_src}) | ||
|
||
target_include_directories(task3 SYSTEM PRIVATE ${LLVM_INCLUDE_DIRS}) | ||
target_include_directories(task3 PRIVATE ${LLVM_INCLUDE_DIRS}) | ||
|
||
target_link_libraries(task3 ${LLVM_LIBS}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
#include "Obj.hpp" | ||
#include <string> | ||
#include <cstdint> | ||
|
||
namespace asg { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters