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 96ee032 commit a9e43a4Copy full SHA for a9e43a4
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