forked from OSchip/llvm-project
Fix 'control reaches end of non-void function' warning
llvm-svn: 295829
This commit is contained in:
parent
732d6eb166
commit
eeb1b30627
|
@ -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");
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue