[all-commits] [llvm/llvm-project] 699e10: [clang][analyzer] Improve 'errno' handling in StdL...

Balázs Kéri via All-commits all-commits at lists.llvm.org
Thu Nov 16 09:07:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 699e1019af8d73ce256bd2bb1df3a1d8c14d8b72
      https://github.com/llvm/llvm-project/commit/699e1019af8d73ce256bd2bb1df3a1d8c14d8b72
  Author: Balázs Kéri <balazs.keri at ericsson.com>
  Date:   2023-11-16 (Thu, 16 Nov 2023)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp
    M clang/lib/StaticAnalyzer/Checkers/ErrnoModeling.h
    M clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
    M clang/test/Analysis/errno-stdlibraryfunctions-notes.c
    M clang/test/Analysis/stream-errno-note.c

  Log Message:
  -----------
  [clang][analyzer] Improve 'errno' handling in StdLibraryFunctionsChecker. (#71392)

The checker now displays one combined note tag for errno-related and
"case"-related notes. Previous functions in the errno-modeling part that
were used for construction of note tags are removed. The note tag added
by StdLibraryFunctionsChecker contains the code to display the note tag
for 'errno' (this was done previously by these removed functions).




More information about the All-commits mailing list