[all-commits] [llvm/llvm-project] faca09: [Clang][Sema] Add fortify warnings for fread, fwri...

Radovan Božić via All-commits all-commits at lists.llvm.org
Thu Oct 1 10:08:40 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: faca09a8ad559bf31f80a9bbae4ccfe2e1ed8f07
      https://github.com/llvm/llvm-project/commit/faca09a8ad559bf31f80a9bbae4ccfe2e1ed8f07
  Author: Radovan Božić <radovan.bozic at htecgroup.com>
  Date:   2026-10-01 (Thu, 01 Oct 2026)

  Changed paths:
    M clang/docs/ReleaseNotes.md
    M clang/include/clang/Basic/Builtins.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/Analysis/std-c-library-functions-arg-constraints.c
    M clang/test/Analysis/stream-noopen.c
    M clang/test/Sema/warn-fortify-source.c

  Log Message:
  -----------
  [Clang][Sema] Add fortify warnings for fread, fwrite, and fgets (#204337)

Add missing `-Wforitfy-source` diagnostics for `fread`, `fwrite`, and
`fgets`.
This continues the work from #142230.



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