[PATCH] D115168: [clang-format] [PR49298] Sort includes pass will sort inside raw strings
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 9 12:15:26 PST 2021
MyDeveloperDay added inline comments.
================
Comment at: clang/lib/Format/Format.cpp:2590
+ llvm::Regex RawStringRegex(
+ "R\"([A-Za-z0-9_{}#<>%:;.?*+/^&\\$|~!=,'\\-]*)\\(");
+ SmallVector<StringRef, 2> RawStringMatches;
----------------
curdeius wrote:
> I'm picky but you missed `[` and `]`, no?
I couldn't get them to work, even if I escaped them.. let me go look at the Regex unit tests
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115168/new/
https://reviews.llvm.org/D115168
More information about the cfe-commits
mailing list