[PATCH] D104887: [clang] Evaluate strlen of strcpy argument for -Wfortify-source.

Michael Benfield via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 25 11:32:52 PDT 2021


mbenfield updated this revision to Diff 354563.
mbenfield added a comment.

Accommodate the fact that APSInt::toString(unsigned) was removed.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104887/new/

https://reviews.llvm.org/D104887

Files:
  clang/include/clang/AST/Expr.h
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/AST/ExprConstant.cpp
  clang/lib/Sema/SemaChecking.cpp
  clang/test/Analysis/security-syntax-checks.m
  clang/test/Sema/warn-fortify-source.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104887.354563.patch
Type: text/x-patch
Size: 16835 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210625/07db0950/attachment-0001.bin>


More information about the cfe-commits mailing list