[all-commits] [llvm/llvm-project] 012b69: [clang][analyzer] Add StreamChecker note tags for ...

Balázs Kéri via All-commits all-commits at lists.llvm.org
Thu Feb 29 23:22:08 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 012b697e7c3633ae17639b086414fd6c02127810
      https://github.com/llvm/llvm-project/commit/012b697e7c3633ae17639b086414fd6c02127810
  Author: Balázs Kéri <balazs.keri at ericsson.com>
  Date:   2024-03-01 (Fri, 01 Mar 2024)

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

  Log Message:
  -----------
  [clang][analyzer] Add StreamChecker note tags for "indeterminate stream position". (#83288)

If a stream operation fails the position can become "indeterminate".
This may cause warning from the checker at a later operation. The new
note tag shows the place where the position becomes "indeterminate",
this is where a failure occurred.



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