We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4cbe81 commit c7f35dcCopy full SHA for c7f35dc
lib/Parse/Lexer.cpp
@@ -661,7 +661,7 @@ static bool advanceIfValidContinuationOfOperator(char const *&ptr,
661
/// Returns true if the given string is entirely whitespace (considering only
662
/// those whitespace code points permitted in raw identifiers).
663
static bool isEntirelyWhitespace(StringRef string) {
664
- if (string.empty()) return false;
+ if (string.empty()) return true;
665
char const *p = string.data(), *end = string.end();
666
if (!advanceIf(p, end, isPermittedRawIdentifierWhitespace))
667
return false;
0 commit comments