Details
- Reviewers
- None
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/include/clang/Basic/TokenKinds.h | ||
---|---|---|
99 | Yeah, this piece is unfortunate :( llvm::StringRef doesn't really work with the current code. It relies on checking if using \0 at the end of given string which is not always the case for StringRef (and StringRef itself would not be a suitable data structure to access Name[2] given Name.size() == 2 because of the bounds check. This is a piece I didn't figure out and hence did not send the patch to the review yet. |
Not needed yet, waiting for myself to start adding some PP-based FoldingRanges to continue.
clang-tidy: warning: unused function 'collectPPFoldingRanges' [clang-diagnostic-unused-function]
not useful