================ @@ -585,6 +585,17 @@ TEST_F(TokenCollectorTest, DelayedParsing) { EXPECT_THAT(collectAndDump(Code), StartsWith(ExpectedTokens)); } +TEST_F(TokenCollectorTest, UnclosedToken) { ---------------- HighCommander4 wrote:
Indeed, it looks like `TokenBuffer::spelledForExpanded()` (which is the only call site of `spelledForExpandedToken()`) is not called by anything currently in this test. To exercise `spelledForExpanded()`, we will need to make an explicit call to it, the way a number of other tests in this file do. https://github.com/llvm/llvm-project/pull/69849 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits