[clang-tidy] detect unnecessary escaping in char/string literals
Open
check-request
clang-tidy
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
```cpp
char c = '\"';
```
There is no need to escape the `"` here.
Contributor guide
Research direction
Start by locating the clang-tidy check responsible for inspecting C++ character and string literals, then review its existing tests or test conventions. The work is done when unnecessary escaping such as \" inside a character literal is diagnosed consistently without flagging escapes that are required.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100