[all-commits] [llvm/llvm-project] 93c387: [clang][analyzer] Change modeling of `fseek` in St...

Balázs Kéri via All-commits all-commits at lists.llvm.org
Mon Apr 1 23:55:41 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93c387df908923f17875ab9cf0463d5f181318bb
      https://github.com/llvm/llvm-project/commit/93c387df908923f17875ab9cf0463d5f181318bb
  Author: Balázs Kéri <balazs.keri at ericsson.com>
  Date:   2024-04-02 (Tue, 02 Apr 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
    M clang/test/Analysis/stream-error.c
    M clang/test/Analysis/stream-note.c

  Log Message:
  -----------
  [clang][analyzer] Change modeling of `fseek` in StreamChecker. (#86919)

Until now function `fseek` returned nonzero on error, this is changed to
-1 only. And it does not produce EOF error any more.
This complies better with the POSIX standard.



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