llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Mohamed Ali (moabo3li) <details> <summary>Changes</summary> --- Full diff: https://github.com/llvm/llvm-project/pull/181585.diff 1 Files Affected: - (modified) clang/lib/Sema/SemaBoundsSafety.cpp (+1-1) ``````````diff 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; // } // `````````` </details> https://github.com/llvm/llvm-project/pull/181585 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
