[all-commits] [llvm/llvm-project] 1119a0: [BoundsSafety][NFC] Remove the unused parameter 'D...
Yeoul Na via All-commits
all-commits at lists.llvm.org
Tue Aug 6 10:04:48 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1119a0805009501691538a28aeb9bb18b3ff911f
https://github.com/llvm/llvm-project/commit/1119a0805009501691538a28aeb9bb18b3ff911f
Author: Yeoul Na <yeoul_na at apple.com>
Date: 2024-08-06 (Tue, 06 Aug 2024)
Changed paths:
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaBoundsSafety.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
Log Message:
-----------
[BoundsSafety][NFC] Remove the unused parameter 'Decls' from 'Sema::C… (#102076)
…heckCountedByAttrOnField'
llvm::SmallVectorImpl<TypeCoupledDeclRefInfo> &Decls is a vector of
declarations referred to by the argument of 'counted_by' attributes and
fields. 'BuildCountAttributedArrayOrPointerType' had been made
self-contained to produce the 'Decls' within itself to allow
'TreeTransform' to invoke the function without having to call
'Sema::CheckCountedByAttrOnField' again. Thus, 'Decls' produced by
`Sema::CheckCountedByAttrOnField` is never used.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list