Details
Details
- Reviewers
gribozavr2 - Commits
- rGe616a4259889: [SyntaxTree] Test for '\' inside token.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
clang/unittests/Tooling/Syntax/BuildTreeTest.cpp | ||
---|---|---|
173 | That looks like the wrong slash to me (forward instead of backward). To avoid possible confusion with line continuations in the source file itself, I'd suggest to write it as a regular string literal: "in\\t a;" |
That looks like the wrong slash to me (forward instead of backward).
To avoid possible confusion with line continuations in the source file itself, I'd suggest to write it as a regular string literal:
"in\\t a;"