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 463e52b commit cae5ebaCopy full SHA for cae5eba
include/swift/SIL/SILGlobalVariable.h
@@ -74,7 +74,7 @@ class SILGlobalVariable
74
/// True if this is a declaration of a variable defined in another module.
75
bool isExternalDeclaration() const { return !IsDefinition; }
76
/// True if this is a definition of the variable.
77
- bool isDefinition() const { return !IsDefinition; }
+ bool isDefinition() const { return IsDefinition; }
78
void setDefinition(bool b) { IsDefinition = b; }
79
80
/// Get this function's linkage attribute.
0 commit comments