[all-commits] [llvm/llvm-project] cea81e: [clang-format] add support for cppm files

MyDeveloperDay via All-commits all-commits at lists.llvm.org
Tue Dec 14 06:56:11 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cea81e95b05f92d1dd24547e086ec97b9510634a
      https://github.com/llvm/llvm-project/commit/cea81e95b05f92d1dd24547e086ec97b9510634a
  Author: mydeveloperday <mydeveloperday at gmail.com>
  Date:   2021-12-14 (Tue, 14 Dec 2021)

  Changed paths:
    M clang/tools/clang-format/clang-format-diff.py
    M clang/tools/clang-format/git-clang-format

  Log Message:
  -----------
  [clang-format] add support for cppm files

C++20 Modules current style is to assign a new file suffix .cppm.

https://github.com/llvm/llvm-project/issues/52658

Ensure git-clang-format can handle that as a default extension

Reviewed By: ChuanqiXu, HazardyKnusperkeks, curdeius

Differential Revision: https://reviews.llvm.org/D115625

Fixes: #52658




More information about the All-commits mailing list