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

Michael Benfield via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 7 14:25:45 PDT 2021


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

fix failing tests


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
  clang/test/SemaCXX/source_location.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104887.357077.patch
Type: text/x-patch
Size: 18552 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210707/d8da4507/attachment-0001.bin>


More information about the cfe-commits mailing list