@@ -4521,14 +4521,17 @@ CINDEX_LINKAGE CXStringSet *clang_Cursor_getObjCManglings(CXCursor);
4521
4521
*
4522
4522
* This function also returns a valid empty string if the cursor does not point
4523
4523
* at a GCC inline assembly block.
4524
+ *
4525
+ * Users are responsible for releasing the allocation of returned string via
4526
+ * \c clang_disposeString.
4524
4527
*/
4525
4528
4526
4529
CINDEX_LINKAGE CXString clang_Cursor_getGCCAssemblyTemplate (CXCursor );
4527
4530
4528
4531
/**
4529
4532
* Given a CXCursor_GCCAsmStmt cursor, check if the assembly block has goto
4530
4533
* labels.
4531
- * This function also returns FALSE if the cursor does not point at a GCC inline
4534
+ * This function also returns 0 if the cursor does not point at a GCC inline
4532
4535
* assembly block.
4533
4536
*/
4534
4537
@@ -4553,11 +4556,14 @@ CINDEX_LINKAGE unsigned clang_Cursor_getGCCAssemblyNumInputs(CXCursor);
4553
4556
/**
4554
4557
* Given a CXCursor_GCCAsmStmt cursor, get the constraint and expression cursor
4555
4558
* to the Index-th input.
4556
- * This function returns TRUE when the cursor points at a GCC inline assembly
4559
+ * This function returns 1 when the cursor points at a GCC inline assembly
4557
4560
* statement, `Index` is within bounds and both the `Constraint` and `Expr` are
4558
4561
* not NULL.
4559
- * Otherwise, this function returns FALSE but leaves `Constraint` and `Expr`
4562
+ * Otherwise, this function returns 0 but leaves `Constraint` and `Expr`
4560
4563
* intact.
4564
+ *
4565
+ * Users are responsible for releasing the allocation of `Constraint` via
4566
+ * \c clang_disposeString.
4561
4567
*/
4562
4568
4563
4569
CINDEX_LINKAGE unsigned clang_Cursor_getGCCAssemblyInput (CXCursor Cursor ,
@@ -4568,11 +4574,14 @@ CINDEX_LINKAGE unsigned clang_Cursor_getGCCAssemblyInput(CXCursor Cursor,
4568
4574
/**
4569
4575
* Given a CXCursor_GCCAsmStmt cursor, get the constraint and expression cursor
4570
4576
* to the Index-th output.
4571
- * This function returns TRUE when the cursor points at a GCC inline assembly
4577
+ * This function returns 1 when the cursor points at a GCC inline assembly
4572
4578
* statement, `Index` is within bounds and both the `Constraint` and `Expr` are
4573
4579
* not NULL.
4574
- * Otherwise, this function returns FALSE but leaves `Constraint` and `Expr`
4580
+ * Otherwise, this function returns 0 but leaves `Constraint` and `Expr`
4575
4581
* intact.
4582
+ *
4583
+ * Users are responsible for releasing the allocation of `Constraint` via
4584
+ * \c clang_disposeString.
4576
4585
*/
4577
4586
4578
4587
CINDEX_LINKAGE unsigned clang_Cursor_getGCCAssemblyOutput (CXCursor Cursor ,
@@ -4592,6 +4601,9 @@ CINDEX_LINKAGE unsigned clang_Cursor_getGCCAssemblyNumClobbers(CXCursor Cursor);
4592
4601
* Given a CXCursor_GCCAsmStmt cursor, get the Index-th clobber of it.
4593
4602
* This function returns a valid empty string if the cursor does not point
4594
4603
* at a GCC inline assembly block or `Index` is out of bounds.
4604
+ *
4605
+ * Users are responsible for releasing the allocation of returned string via
4606
+ * \c clang_disposeString.
4595
4607
*/
4596
4608
4597
4609
CINDEX_LINKAGE CXString clang_Cursor_getGCCAssemblyClobber (CXCursor Cursor ,
@@ -4600,7 +4612,7 @@ CINDEX_LINKAGE CXString clang_Cursor_getGCCAssemblyClobber(CXCursor Cursor,
4600
4612
/**
4601
4613
* Given a CXCursor_GCCAsmStmt cursor, check if the inline assembly is
4602
4614
* `volatile`.
4603
- * This function returns FALSE if the cursor does not point at a GCC inline
4615
+ * This function returns 0 if the cursor does not point at a GCC inline
4604
4616
* assembly block.
4605
4617
*/
4606
4618
0 commit comments