[clang-tools-extra] [clang-tidy] readability-container-contains literal suffixes (PR #74215)

2023-12-02 Thread Thomas Schenker via cfe-commits
https://github.com/schenker created https://github.com/llvm/llvm-project/pull/74215 Before this PR, readability-container-contains fixits did not handle integer literal suffixes correctly. It e.g. changed ``` MyMap.count(2) != 0U; ``` into ``` MyMap.contains(2)U; ``` With this PR, it corre

[clang-tools-extra] [clang-tidy] readability-container-contains literal suffixes (PR #74215)

2023-12-02 Thread Thomas Schenker via cfe-commits
https://github.com/schenker updated https://github.com/llvm/llvm-project/pull/74215 >From f93185fe2346e7184c17ff35fb82ba0873e040a1 Mon Sep 17 00:00:00 2001 From: Thomas Schenker Date: Sat, 2 Dec 2023 11:10:26 +0100 Subject: [PATCH] [clang-tidy] readability-container-contains literal suffixes B

[clang-tools-extra] [clang-tidy] readability-container-contains literal suffixes (PR #74215)

2023-12-02 Thread Thomas Schenker via cfe-commits
https://github.com/schenker updated https://github.com/llvm/llvm-project/pull/74215 >From e6afca50ae820ec2e8cc2d53fa68d09f5cd3b1ed Mon Sep 17 00:00:00 2001 From: Thomas Schenker Date: Sat, 2 Dec 2023 11:10:26 +0100 Subject: [PATCH] [clang-tidy] readability-container-contains literal suffixes B

[clang-tools-extra] [clang-tidy] readability-container-contains literal suffixes (PR #74215)

2023-12-02 Thread Thomas Schenker via cfe-commits
https://github.com/schenker updated https://github.com/llvm/llvm-project/pull/74215 >From e6afca50ae820ec2e8cc2d53fa68d09f5cd3b1ed Mon Sep 17 00:00:00 2001 From: Thomas Schenker Date: Sat, 2 Dec 2023 11:10:26 +0100 Subject: [PATCH 1/2] [clang-tidy] readability-container-contains literal suffix

[clang-tools-extra] [clang-tidy] readability-container-contains literal suffixes (PR #74215)

2023-12-02 Thread Thomas Schenker via cfe-commits
https://github.com/schenker edited https://github.com/llvm/llvm-project/pull/74215 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] add some missing Kinds to libclang python bindings (PR #85571)

2024-03-27 Thread Thomas Schenker via cfe-commits
schenker wrote: Thanks for the fix. Will these changes find their way into an 18.x release? https://github.com/llvm/llvm-project/pull/85571 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm

[clang-tools-extra] [clang-tidy] fix misc-const-correctness to work with function-try-blocks (PR #99925)

2024-07-23 Thread Thomas Schenker via cfe-commits
schenker wrote: > Looks like missing -fexceptions thanks for fixing it https://github.com/llvm/llvm-project/pull/99925 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] fix misc-const-correctness to work with function-try-blocks (PR #99925)

2024-07-22 Thread Thomas Schenker via cfe-commits
https://github.com/schenker created https://github.com/llvm/llvm-project/pull/99925 Make the clang-tidy check misc-const-correctness work with function-try-blocks. Fixes #99860. >From f16be0b63d6cd9728354c5f71cf3831482b6ec25 Mon Sep 17 00:00:00 2001 From: Thomas Schenker Date: Mon, 22 Jul 202

[clang-tools-extra] [clang-tidy] fix misc-const-correctness to work with function-try-blocks (PR #99925)

2024-07-22 Thread Thomas Schenker via cfe-commits
https://github.com/schenker updated https://github.com/llvm/llvm-project/pull/99925 >From f16be0b63d6cd9728354c5f71cf3831482b6ec25 Mon Sep 17 00:00:00 2001 From: Thomas Schenker Date: Mon, 22 Jul 2024 21:39:28 +0200 Subject: [PATCH 1/2] improve clang-tidy misc-const-correctness to work with fu

[clang-tools-extra] [clang-tidy] fix misc-const-correctness to work with function-try-blocks (PR #99925)

2024-07-22 Thread Thomas Schenker via cfe-commits
@@ -120,6 +120,9 @@ Improvements to clang-tidy - Improved :program:`check_clang_tidy.py` script. Added argument `-export-fixes` to aid in clang-tidy and test development. +- Improved :doc:`misc-const-correctness schenker wrote: done https://github.com/llv