[PATCH] D137823: [clang-format][NFC] Moved configuration parsing tests in own file
Björn Schäpers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 11 03:09:34 PST 2022
HazardyKnusperkeks created this revision.
HazardyKnusperkeks added reviewers: owenpan, MyDeveloperDay, curdeius, rymiel.
HazardyKnusperkeks added a project: clang-format.
Herald added a subscriber: kadircet.
Herald added a project: All.
HazardyKnusperkeks requested review of this revision.
Herald added subscribers: cfe-commits, ilya-biryukov.
Herald added a project: clang.
I want to reduce the size of ForatTest.cpp with its still wopping 25k lines it is a burden on the compiler and editor (mine is clangd powered).
This are tests which are really serving a different purpose than formatting.
I've copied the code and made the following changes:
- Dropped the ; at the end of some macros, all macro "invocations" already have their own ;.
- Dropped the _F, we don't need a fxiture here.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D137823
Files:
clang/unittests/Format/CMakeLists.txt
clang/unittests/Format/ConfigParseTest.cpp
clang/unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137823.474708.patch
Type: text/x-patch
Size: 124782 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221111/9c87e0df/attachment-0001.bin>
More information about the cfe-commits
mailing list