[clang] [clang][analyzer] Simplify code of StreamChecker (NFC). (PR #82228)

2024-02-20 Thread Balázs Kéri via cfe-commits
https://github.com/balazske closed https://github.com/llvm/llvm-project/pull/82228 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][analyzer] Simplify code of StreamChecker (NFC). (PR #82228)

2024-02-20 Thread Balázs Kéri via cfe-commits
balazske wrote: The initial commit was somehow incomplete and code was not tested. New commit should fix the problems. https://github.com/llvm/llvm-project/pull/82228 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang] [clang][analyzer] Simplify code of StreamChecker (NFC). (PR #82228)

2024-02-20 Thread Balázs Kéri via cfe-commits
https://github.com/balazske updated https://github.com/llvm/llvm-project/pull/82228 From 0c93cbe17010dfd1382486952d80898ba1360243 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20K=C3=A9ri?= Date: Mon, 19 Feb 2024 09:39:30 +0100 Subject: [PATCH 1/2] [clang][analyzer] Simplify code of

[clang] [clang][analyzer] Simplify code of StreamChecker (NFC). (PR #82228)

2024-02-19 Thread Ben Shi via cfe-commits
https://github.com/benshi001 approved this pull request. https://github.com/llvm/llvm-project/pull/82228 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][analyzer] Simplify code of StreamChecker (NFC). (PR #82228)

2024-02-19 Thread via cfe-commits
https://github.com/NagyDonat approved this pull request. Seems to be a nice improvement, I'm happy to see this boilerplate removal and reducing the code length by 120 lines is impressive. (Disclaimer: I didn't do a line-by-line review of the changes, but I hope that testing etc. validates that

[clang] [clang][analyzer] Simplify code of StreamChecker (NFC). (PR #82228)

2024-02-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Balázs Kéri (balazske) Changes Continuation of commit 42b5037, apply changes to the remaining functions. Code for function `fflush` was not changed, because it is more special compared to the others. --- Patch is 22.38 KiB, truncated to

[clang] [clang][analyzer] Simplify code of StreamChecker (NFC). (PR #82228)

2024-02-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-static-analyzer-1 Author: Balázs Kéri (balazske) Changes Continuation of commit 42b5037, apply changes to the remaining functions. Code for function `fflush` was not changed, because it is more special compared to the others. --- Patch is 22.38

[clang] [clang][analyzer] Simplify code of StreamChecker (NFC). (PR #82228)

2024-02-19 Thread Balázs Kéri via cfe-commits
https://github.com/balazske created https://github.com/llvm/llvm-project/pull/82228 Continuation of commit 42b5037, apply changes to the remaining functions. Code for function `fflush` was not changed, because it is more special compared to the others. From