-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Open
Labels
clang:diagnosticsNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"
Description
The Unicode consortium and the C++ committee are interested in diagnosing Vertical whitespaces (VT, FF) that appear in single-line comments. We should explore a warning to guide this effort.
The motivation for this warning is that if an IDE treats such a vertical character as whitespace (which they are recommended to do), the divergence between the behavior of compilers and IDEs can lead to code spoofing, and therefore security concerns
https://www.unicode.org/reports/tr55/#Spoofing-LB
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p2843r2.pdf
ednolan and tahonermann
Metadata
Metadata
Assignees
Labels
clang:diagnosticsNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"