[PATCH] D111833: [clang] Fortify warning for scanf calls with field width too big.

Michael Benfield via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 15 09:41:13 PDT 2021


mbenfield added inline comments.


================
Comment at: clang/lib/Sema/SemaChecking.cpp:662
+    if (Index < FD->getNumParams()) {
+      if (const auto *POS =
+              FD->getParamDecl(Index)->getAttr<PassObjectSizeAttr>())
----------------
enh wrote:
> (stray tabs?)
Not sure what you're referring to. AFAICT there are no tabs in this file. 


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