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.
isValid
swift::Identifier
1 parent 52a163f commit abc137dCopy full SHA for abc137d
include/swift/AST/Identifier.h
@@ -123,7 +123,7 @@ class Identifier {
123
bool nonempty() const { return !empty(); }
124
#ifdef COMPILED_WITH_SWIFT
125
SWIFT_COMPUTED_PROPERTY
126
- bool getIsValid() const { return empty(); }
+ bool getIsValid() const { return nonempty(); }
127
#endif
128
129
/// isOperator - Return true if this identifier is an operator, false if it is
0 commit comments