Skip to content

Commit 37b4020

Browse files
committed
[AST] Remove redundant 'return false' from 'hasValueSemantics()'
1 parent 4473cb8 commit 37b4020

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/AST/DeclContext.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,8 +1039,6 @@ bool DeclContext::hasValueSemantics() const {
10391039
if (getExtendedProtocolDecl())
10401040
return !isClassConstrainedProtocolExtension();
10411041
return !getDeclaredInterfaceType()->hasReferenceSemantics();
1042-
1043-
return false;
10441042
}
10451043

10461044
bool DeclContext::isClassConstrainedProtocolExtension() const {

0 commit comments

Comments
 (0)