Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/clangd/refactor/Rename.cpp | ||
---|---|---|
473–488 | What's wrong with isValidIdentifier in CharInfo.h. |
clang-tools-extra/clangd/refactor/Rename.cpp | ||
---|---|---|
473–488 | Many (most?) non-ascii characters *are* allowed. isValidIdentifier & friends return false for non-ascii characters. This is OK for the fast-path of the parser, where false negatives are OK and fall back to the slow path. We want the opposite bias: false positives are OK (allow some incorrect renames involving unicode characters) but false negatives are not (reject some valid renames) |
LGTM. Thanks.
clang-tools-extra/clangd/refactor/Rename.cpp | ||
---|---|---|
466 | Please format the string with Reason.Details. |
Please format the string with Reason.Details.