[clang-tools-extra] [clang-apply-replacements] Add support for the `.yml` file extension (PR #78842)

2024-01-25 Thread Daniil Dudkin via cfe-commits
https://github.com/unterumarmung closed https://github.com/llvm/llvm-project/pull/78842 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-apply-replacements] Add support for the `.yml` file extension (PR #78842)

2024-01-20 Thread Daniil Dudkin via cfe-commits
https://github.com/unterumarmung updated https://github.com/llvm/llvm-project/pull/78842 >From 14767cd17ca81ceded59b630968bfd5f2dfab26b Mon Sep 17 00:00:00 2001 From: Daniil Dudkin Date: Sat, 20 Jan 2024 14:07:40 +0300 Subject: [PATCH] [clang-apply-replacements] Add support for the `.yml` file

[clang-tools-extra] [clang-apply-replacements] Add support for the `.yml` file extension (PR #78842)

2024-01-20 Thread Daniil Dudkin via cfe-commits
https://github.com/unterumarmung created https://github.com/llvm/llvm-project/pull/78842 The `.yml` file extension is a valid extension for the YAML files, but it was not previously supported by the Clang Apply Replacements tool. This commit adds support for processing `.yml` files. Without

[clang-tools-extra] [clang-apply-replacements] Deduplicate Implementation of `collectReplacementsFromDirectory` (NFC) (PR #78630)

2024-01-19 Thread Daniil Dudkin via cfe-commits
https://github.com/unterumarmung closed https://github.com/llvm/llvm-project/pull/78630 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-apply-replacements] Deduplicate Implementation of `collectReplacementsFromDirectory` (NFC) (PR #78630)

2024-01-19 Thread Daniil Dudkin via cfe-commits
unterumarmung wrote: The Windows build in the CI is stuck. The change is pretty trivial and doesn't use any features that cannot be found in C++98. So, we can skip the Windows check. https://github.com/llvm/llvm-project/pull/78630 ___ cfe-commits

[clang-tools-extra] [clang-apply-replacements] Deduplicate Implementation of `collectReplacementsFromDirectory` (NFC) (PR #78630)

2024-01-18 Thread Daniil Dudkin via cfe-commits
https://github.com/unterumarmung updated https://github.com/llvm/llvm-project/pull/78630 >From 1951badf6ba8302da1431747412edf960f53b0b1 Mon Sep 17 00:00:00 2001 From: Daniil Dudkin Date: Fri, 19 Jan 2024 00:41:03 +0300 Subject: [PATCH] [clang-apply-replacements] Deduplicate Implementation of

[clang-tools-extra] [clang-apply-replacements] Deduplicate Implementation of `collectReplacementsFromDirectory` (NFC) (PR #78630)

2024-01-18 Thread Daniil Dudkin via cfe-commits
unterumarmung wrote: I honestly don't who should review/approve this, but hopefully the change is not complicated. https://github.com/llvm/llvm-project/pull/78630 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang-tools-extra] [clang-apply-replacements] Deduplicate Implementation of `collectReplacementsFromDirectory` (NFC) (PR #78630)

2024-01-18 Thread Daniil Dudkin via cfe-commits
https://github.com/unterumarmung created https://github.com/llvm/llvm-project/pull/78630 * Convert `collectReplacementsFromDirectory` into a function template. * Employ explicit specialization to maintain implementation in the source file. * Utilize the function template in the source file to