3 Commits

Author SHA1 Message Date
Owen Pan
4d48996ff0
[clang-format][NFC] Clean up around StringRef initializations (#149765)
Consistently use `constexpr StringRef Code("string literal");`.
2025-07-21 19:11:17 -07:00
Manuel Klimek
f8d10d5ac9 [clang-format][NFC] Refactor formatting unit tests.
Pull out common base class for formatting unit tests, removing duplicate
code that accumulated over the years.

Pull out macro expansion test into its own test file.
2023-03-01 12:36:07 +00:00
owenca
17059753f1 [clang-format] Move InsertBraces unit tests out of FormatTest.cpp
Also add line range examples from #58161.

Differential Revision: https://reviews.llvm.org/D136658
2022-10-27 01:29:31 -07:00