The functions in this group provide access to information about GCC-style inline assembly statements. More...
The functions in this group provide access to information about GCC-style inline assembly statements.
The functions in this group provide access to information about modules.
Given a CXCursor_GCCAsmStmt cursor, get the Index-th clobber of it.
This function returns a valid empty string if the cursor does not point at a GCC inline assembly block or Index is out of bounds.
Users are responsible for releasing the allocation of returned string via clang_disposeString
.
References CINDEX_LINKAGE.
Given a CXCursor_GCCAsmStmt cursor, get the constraint and expression cursor to the Index-th input.
This function returns 1 when the cursor points at a GCC inline assembly statement, Index is within bounds and both the Constraint and Expr are not NULL. Otherwise, this function returns 0 but leaves Constraint and Expr intact.
Users are responsible for releasing the allocation of Constraint via clang_disposeString
.
References CINDEX_LINKAGE.
Given a CXCursor_GCCAsmStmt cursor, count the clobbers in it.
This function also returns 0 if the cursor does not point at a GCC inline assembly block.
References CINDEX_LINKAGE.
Given a CXCursor_GCCAsmStmt cursor, count the number of inputs.
This function also returns 0 if the cursor does not point at a GCC inline assembly block.
References CINDEX_LINKAGE.
Given a CXCursor_GCCAsmStmt cursor, count the number of outputs.
This function also returns 0 if the cursor does not point at a GCC inline assembly block.
References CINDEX_LINKAGE.
Given a CXCursor_GCCAsmStmt cursor, get the constraint and expression cursor to the Index-th output.
This function returns 1 when the cursor points at a GCC inline assembly statement, Index is within bounds and both the Constraint and Expr are not NULL. Otherwise, this function returns 0 but leaves Constraint and Expr intact.
Users are responsible for releasing the allocation of Constraint via clang_disposeString
.
References CINDEX_LINKAGE.
Given a CXCursor_GCCAsmStmt cursor, return the assembly template string.
As per LLVM IR Assembly Template language, template placeholders for inputs and outputs are either of the form $N where N is a decimal number as an index into the input-output specification, or ${N:M} where N is a decimal number also as an index into the input-output specification and M is the template argument modifier. The index N in both cases points into the the total inputs and outputs, or more specifically, into the list of outputs followed by the inputs, starting from index 0 as the first available template argument.
This function also returns a valid empty string if the cursor does not point at a GCC inline assembly block.
Users are responsible for releasing the allocation of returned string via clang_disposeString
.
References CINDEX_LINKAGE.
Given a CXCursor_ModuleImportDecl cursor, return the associated module.
References CINDEX_LINKAGE.
Given a CXCursor_GCCAsmStmt cursor, check if the assembly block has goto labels.
This function also returns 0 if the cursor does not point at a GCC inline assembly block.
References CINDEX_LINKAGE.
Given a CXCursor_GCCAsmStmt cursor, check if the inline assembly is volatile.
This function returns 0 if the cursor does not point at a GCC inline assembly block.
References CINDEX_LINKAGE.
Given a CXFile header file, return the module that contains it, if one exists.
References CINDEX_LINKAGE.
References CINDEX_LINKAGE.
References CINDEX_LINKAGE.
References CINDEX_LINKAGE.
References CINDEX_LINKAGE.
References CINDEX_LINKAGE.
References CINDEX_LINKAGE.
References CINDEX_LINKAGE.