Skip to content

Commit cae5eba

Browse files
author
Manman Ren
committed
isDefinition() should return IsDefinition.
Swift SVN r10825
1 parent 463e52b commit cae5eba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/SIL/SILGlobalVariable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class SILGlobalVariable
7474
/// True if this is a declaration of a variable defined in another module.
7575
bool isExternalDeclaration() const { return !IsDefinition; }
7676
/// True if this is a definition of the variable.
77-
bool isDefinition() const { return !IsDefinition; }
77+
bool isDefinition() const { return IsDefinition; }
7878
void setDefinition(bool b) { IsDefinition = b; }
7979

8080
/// Get this function's linkage attribute.

0 commit comments

Comments
 (0)