Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修正 LLVM 类型说明中的笔误 #61

Merged
merged 1 commit into from
Nov 5, 2024
Merged
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
11 changes: 6 additions & 5 deletions docs/tutorials/05-intermediate-representation.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,14 @@ enum class ValueType {
````c++
enum TypeID {
// Primitive types
VoidTyID, //空返回值
LabelTyID, //标签类型
VoidTyID, // 空返回值
LabelTyID, // 标签类型

// Derived types
IntegerTyID, //整数类型
FunctionTyID, //浮点数类型
PointerTyID //指针类型
IntegerTyID, // 整数类型
FloatTyID, // 浮点数类型
FunctionTyID, // 函数类型
PointerTyID // 指针类型
};
````

Expand Down