[clang] [clang][analyzer] Support 'fdopen' in the StreamChecker (PR #76776)

2024-01-05 Thread Balázs Kéri via cfe-commits
balazske wrote: Documentation is in **checkers.rst** but not accurate now. It must be updated with more information. https://github.com/llvm/llvm-project/pull/76776 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin

[clang] [clang][analyzer] Support 'fdopen' in the StreamChecker (PR #76776)

2024-01-04 Thread Ben Shi via cfe-commits
benshi001 wrote: > One note that should be added to the documentation: The `StreamChecker` does > not handle file descriptors associated to streams. Therefore some issues can > appear, for example `fileno` does not return the value that was used to open > a stream with `fdopen`, and the standa

[clang] [clang][analyzer] Support 'fdopen' in the StreamChecker (PR #76776)

2024-01-03 Thread Balázs Kéri via cfe-commits
balazske wrote: One note that should be added to the documentation: The `StreamChecker` does not handle file descriptors associated to streams. Therefore some issues can appear, for example `fileno` does not return the value that was used to open a stream with `fdopen`, and the standard streams

[clang] [clang][analyzer] Support 'fdopen' in the StreamChecker (PR #76776)

2024-01-03 Thread Ben Shi via cfe-commits
https://github.com/benshi001 closed https://github.com/llvm/llvm-project/pull/76776 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][analyzer] Support 'fdopen' in the StreamChecker (PR #76776)

2024-01-03 Thread Balazs Benics via cfe-commits
https://github.com/steakhal approved this pull request. https://github.com/llvm/llvm-project/pull/76776 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][analyzer] Support 'fdopen' in the StreamChecker (PR #76776)

2024-01-03 Thread Ben Shi via cfe-commits
benshi001 wrote: @steakhal What is your opinion on this change ? https://github.com/llvm/llvm-project/pull/76776 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][analyzer] Support 'fdopen' in the StreamChecker (PR #76776)

2024-01-03 Thread Balázs Kéri via cfe-commits
https://github.com/balazske approved this pull request. https://github.com/llvm/llvm-project/pull/76776 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][analyzer] Support 'fdopen' in the StreamChecker (PR #76776)

2024-01-02 Thread Ben Shi via cfe-commits
https://github.com/benshi001 updated https://github.com/llvm/llvm-project/pull/76776 >From 19122ac9df0e621ffb25fcb64bfad2336476b94b Mon Sep 17 00:00:00 2001 From: Ben Shi Date: Wed, 3 Jan 2024 11:30:57 +0800 Subject: [PATCH] [clang][analyzer] Support 'fdopen' in the StreamChecker --- clang/do

[clang] [clang][analyzer] Support 'fdopen' in the StreamChecker (PR #76776)

2024-01-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-static-analyzer-1 @llvm/pr-subscribers-clang Author: Ben Shi (benshi001) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/76776.diff 8 Files Affected: - (modified) clang/docs/ReleaseNotes.rst (+1-1) - (modified) clang/lib/Stat

[clang] [clang][analyzer] Support 'fdopen' in the StreamChecker (PR #76776)

2024-01-02 Thread Ben Shi via cfe-commits
https://github.com/benshi001 created https://github.com/llvm/llvm-project/pull/76776 None >From 8a7caba467e121290d36ad75626ea95ea47b41f2 Mon Sep 17 00:00:00 2001 From: Ben Shi Date: Wed, 3 Jan 2024 11:30:57 +0800 Subject: [PATCH] [clang][analyzer] Support 'fdopen' in the StreamChecker --- cl