[PATCH] D141959: [clang-format] Fix inconsistent identification of operator&
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 18 06:27:14 PST 2023
MyDeveloperDay added inline comments.
================
Comment at: clang/unittests/Format/TokenAnnotatorTest.cpp:181
+ ASSERT_EQ(Tokens.size(), 5u) << Tokens;
+ EXPECT_TOKEN(Tokens[1], tok::amp, TT_BinaryOperator);
+
----------------
how does this differentiate from
`MyType & val2;`
is that a binary operator? I don't think so?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141959/new/
https://reviews.llvm.org/D141959
More information about the cfe-commits
mailing list