Skip to content

Commit 299c700

Browse files
authored
[llvm-c][documentation] fix typo in LLVMSizeOfTypeInBits (llvm#100839)
`LLVMSizeOfTypeInBits`: - `Computes the size of a type in bytes for a target` -> `Computes the size of a type in bits for a target`
1 parent 1399637 commit 299c700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm-c/Target.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ LLVMTypeRef LLVMIntPtrTypeInContext(LLVMContextRef C, LLVMTargetDataRef TD);
244244
LLVMTypeRef LLVMIntPtrTypeForASInContext(LLVMContextRef C, LLVMTargetDataRef TD,
245245
unsigned AS);
246246

247-
/** Computes the size of a type in bytes for a target.
247+
/** Computes the size of a type in bits for a target.
248248
See the method llvm::DataLayout::getTypeSizeInBits. */
249249
unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty);
250250

0 commit comments

Comments
 (0)