Fix 'control reaches end of non-void function' warning

llvm-svn: 295829
This commit is contained in:
Simon Pilgrim 2017-02-22 13:21:24 +00:00
parent 732d6eb166
commit eeb1b30627
1 changed files with 2 additions and 1 deletions

View File

@ -8973,8 +8973,9 @@ void ASTReader::diagnoseOdrViolations() {
case AS_protected:
return ProtectedSpecifer;
case AS_none:
llvm_unreachable("Invalid access specifier");
break;
}
llvm_unreachable("Invalid access specifier");
}
};