[PATCH] D136336: [clang-format] Mark pragma region lines as StringLiterals
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 22 13:20:39 PDT 2022
owenpan added a comment.
Can you add a test to `TokenAnnotatorTest.cpp`?
================
Comment at: clang/unittests/Format/FormatTest.cpp:19973-19974
+ verifyFormat("#pragma region TEST(FOO: NOSPACE)", Style);
+ EXPECT_EQ("#pragma region TEST(FOO: NOSPACE)",
+ format("#pragma region TEST(FOO: NOSPACE)", Style));
+
----------------
Redundant?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136336/new/
https://reviews.llvm.org/D136336
More information about the cfe-commits
mailing list