[PATCH] D111833: [clang] Fortify warning for scanf calls with field width too big.
Elliott Hughes via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 14 14:30:10 PDT 2021
enh added a comment.
"shut up and take my money!" :-)
================
Comment at: clang/lib/Sema/SemaChecking.cpp:662
+ if (Index < FD->getNumParams()) {
+ if (const auto *POS =
+ FD->getParamDecl(Index)->getAttr<PassObjectSizeAttr>())
----------------
(stray tabs?)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111833/new/
https://reviews.llvm.org/D111833
More information about the cfe-commits
mailing list