[all-commits] [llvm/llvm-project] 45fec0: [clang-apply-replacements] Add support for the `.y...

Daniil Dudkin via All-commits all-commits at lists.llvm.org
Thu Jan 25 01:55:02 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 45fec0c110cccd5e0c9b60d51bc2ffc1645c9a40
      https://github.com/llvm/llvm-project/commit/45fec0c110cccd5e0c9b60d51bc2ffc1645c9a40
  Author: Daniil Dudkin <unterumarmung at yandex.ru>
  Date:   2024-01-25 (Thu, 25 Jan 2024)

  Changed paths:
    M clang-tools-extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp
    A clang-tools-extra/test/clang-apply-replacements/Inputs/yml-basic/basic.h
    A clang-tools-extra/test/clang-apply-replacements/Inputs/yml-basic/file1.yml
    A clang-tools-extra/test/clang-apply-replacements/Inputs/yml-basic/file2.yml
    A clang-tools-extra/test/clang-apply-replacements/yml-basic.cpp

  Log Message:
  -----------
  [clang-apply-replacements] Add support for the `.yml` file extension (#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 this
change, running the tool on a folder containing `.yml` files generated
by clang-tidy would have no effect.




More information about the All-commits mailing list