[PATCH] D155273: [clang-format] Add TypeNames option to disambiguate types/objects
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 14 01:45:35 PDT 2023
owenpan added inline comments.
================
Comment at: clang/unittests/Format/TokenAnnotatorTest.cpp:284
+ Style.TypeNames.push_back("Class");
+ Tokens = annotate("if (Class *obj {getObj()})", Style);
+ ASSERT_EQ(Tokens.size(), 12u) << Tokens;
----------------
This test case comes from D137327.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155273/new/
https://reviews.llvm.org/D155273
More information about the cfe-commits
mailing list