Skip to content

Commit 7eca4f7

Browse files
authored
修正 LLVM 类型说明中的笔误 (#61)
1 parent cc2ab60 commit 7eca4f7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/tutorials/05-intermediate-representation.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,14 @@ enum class ValueType {
125125
````c++
126126
enum TypeID {
127127
// Primitive types
128-
VoidTyID, //空返回值
129-
LabelTyID, //标签类型
128+
VoidTyID, // 空返回值
129+
LabelTyID, // 标签类型
130130
131131
// Derived types
132-
IntegerTyID, //整数类型
133-
FunctionTyID, //浮点数类型
134-
PointerTyID //指针类型
132+
IntegerTyID, // 整数类型
133+
FloatTyID, // 浮点数类型
134+
FunctionTyID, // 函数类型
135+
PointerTyID // 指针类型
135136
};
136137
````
137138

0 commit comments

Comments
 (0)