Skip to content

Commit c4ed0ad

Browse files
authored
[Clang] Fix typo 'dereferencable' to 'dereferenceable' (#116761)
This patch corrects the typo 'dereferencable' to 'dereferenceable' in CGCall.cpp. The typo is located within a comment inside the `void CodeGenModule::ConstructAttributeList` function.
1 parent 379405a commit c4ed0ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CodeGen/CGCall.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2705,7 +2705,7 @@ void CodeGenModule::ConstructAttributeList(StringRef Name,
27052705
llvm::AttributeSet::get(getLLVMContext(), Attrs);
27062706
}
27072707

2708-
// Apply `nonnull`, `dereferencable(N)` and `align N` to the `this` argument,
2708+
// Apply `nonnull`, `dereferenceable(N)` and `align N` to the `this` argument,
27092709
// unless this is a thunk function.
27102710
// FIXME: fix this properly, https://reviews.llvm.org/D100388
27112711
if (FI.isInstanceMethod() && !IRFunctionArgs.hasInallocaArg() &&

0 commit comments

Comments
 (0)