parent
a0317477c9
commit
2fd2edd3f9
|
@ -49,7 +49,7 @@ inline static bool isPrefixStringCharLiteral(const std::string &str, char q, con
|
||||||
|
|
||||||
inline static bool isStringCharLiteral(const std::string &str, char q)
|
inline static bool isStringCharLiteral(const std::string &str, char q)
|
||||||
{
|
{
|
||||||
static const std::vector<std::string> suffixes{"", "u8", "u", "U", "L"};
|
static const std::vector<std::string> suffixes{"", "u8", "u", "U", "L"};
|
||||||
for (const std::string & p: suffixes) {
|
for (const std::string & p: suffixes) {
|
||||||
if (isPrefixStringCharLiteral(str, q, p))
|
if (isPrefixStringCharLiteral(str, q, p))
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue