Revert "[clang-tidy] Use '' for single characters"

This reverts commit e3ceda9ce1.
This commit is contained in:
Paul Beckingham
2020-12-05 16:18:15 -05:00
parent c3ecfac4f5
commit 3eb209f248
3 changed files with 7 additions and 7 deletions

View File

@@ -1671,7 +1671,7 @@ bool Lexer::decomposeSubstitution (
if (readWord (text, "/", cursor, parsed_to))
{
std::string parsed_flags = text.substr (cursor);
if (parsed_flags.find ('/') == std::string::npos)
if (parsed_flags.find ("/") == std::string::npos)
{
dequote (parsed_from, "/");
dequote (parsed_to, "/");
@@ -1700,7 +1700,7 @@ bool Lexer::decomposePattern (
ignored.length ())
{
auto parsed_flags = text.substr (cursor);
if (parsed_flags.find ('/') == std::string::npos)
if (parsed_flags.find ("/") == std::string::npos)
{
flags = parsed_flags;
pattern = text.substr (1, cursor - 2 - flags.length ());