6 Commits

Author SHA1 Message Date
Owen Pan
5ac784d1d0 Revert "[clang-format][NFC] Don't use clang-format style in config files"
This reverts commit c69ec700adec315b3daa55742f2ef655242fa297, which has been
obsolete since commit dec63221d56e because the clang-format style was added
in version 18.
2024-03-16 02:39:37 -07:00
Owen Pan
c69ec700ad [clang-format][NFC] Don't use clang-format style in config files
The current CI doesn't use the latest clang-format and fails most
clang-format patches on the code formatting check. This patch
temporarily removes the clang-format style from the .clang-format
files.
2024-01-10 00:58:35 -08:00
Owen Pan
5c60e2ce78 [clang-format][NFC] Reformat source code with clang-format style 2023-11-30 20:19:30 -08:00
Owen Pan
bca11bafba [clang-format] Add InsertNewlineAtEOF to .clang-format files
Also, reformat all clang-format related files.

Differential Revision: https://reviews.llvm.org/D153208
2023-06-20 08:30:09 -07:00
Owen Pan
dadfc6b38b [clang-format][NFC] Set LineEnding to LF in config files
To prevent \r\n line endings from getting into the source files.

Differential Revision: https://reviews.llvm.org/D141098
2023-01-22 02:53:06 -08:00
owenca
e347c0fc9b [clang-format][NFC] Reformat the clang/unittests/Format directory
Also add a .clang-format file to clang/include/clang/Format and
clang/unittests/Format to keep the directories formatted.
2022-09-21 13:26:59 -07:00