Skip to content

Commit 4c2d255

Browse files
committed
modify documentation to match the code
1 parent 5057bf6 commit 4c2d255

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/include/clang/CIR/Dialect/IR/CIROps.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2575,8 +2575,8 @@ def VTableAddrPointOp : CIR_Op<"vtable.address_point",
25752575
(address point) of a C++ virtual table. An object internal `__vptr`
25762576
gets initializated on top of the value returned by this operation.
25772577

2578-
`vtable_index` provides the appropriate vtable within the vtable group
2579-
(as specified by Itanium ABI), and `addr_point_index` the actual address
2578+
`address_point.index` (vtable index) provides the appropriate vtable within the vtable group
2579+
(as specified by Itanium ABI), and `address_point.offset` (address point index) the actual address
25802580
point within that vtable.
25812581

25822582
The return type is always a `!cir.ptr<!cir.ptr<() -> i32>>`.

0 commit comments

Comments
 (0)