[clang] [clang][NFC] Fix typo in SemaBoundsSafety.cpp comments (PR #181585)
Mohamed Ali via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 15 16:17:15 PST 2026
https://github.com/moabo3li created https://github.com/llvm/llvm-project/pull/181585
None
>From 3e2b3b24600a6b598bf645ebfb6df9fd147ca6be Mon Sep 17 00:00:00 2001
From: Mohamed Ali <mohmedali1462005 at gmail.com>
Date: Mon, 16 Feb 2026 01:40:08 +0200
Subject: [PATCH] [clang][NFC] Fix typo in SemaBoundsSafety.cpp comments
---
clang/lib/Sema/SemaBoundsSafety.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clang/lib/Sema/SemaBoundsSafety.cpp b/clang/lib/Sema/SemaBoundsSafety.cpp
index de9adf8ef5a1b..8c8e37d321938 100644
--- a/clang/lib/Sema/SemaBoundsSafety.cpp
+++ b/clang/lib/Sema/SemaBoundsSafety.cpp
@@ -115,7 +115,7 @@ bool Sema::CheckCountedByAttrOnField(FieldDecl *FD, Expr *E, bool CountInBytes,
//
// struct Handle;
// struct Wrapper {
- // size_t size;
+ // size_t count;
// struct Handle* __counted_by(count) handles;
// }
//
More information about the cfe-commits
mailing list