forked from OSchip/llvm-project
Add a llvm_unreachable to fix MSVC unhandled enum warning. NFCI.
This commit is contained in:
parent
203b4774b8
commit
defc59734a
|
@ -5028,6 +5028,8 @@ static bool isZeroInitialized(QualType T, const APValue &V) {
|
||||||
case APValue::MemberPointer:
|
case APValue::MemberPointer:
|
||||||
return !V.getMemberPointerDecl();
|
return !V.getMemberPointerDecl();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
llvm_unreachable("Unhandled APValue::ValueKind enum");
|
||||||
}
|
}
|
||||||
|
|
||||||
void CXXNameMangler::mangleValueInTemplateArg(QualType T, const APValue &V) {
|
void CXXNameMangler::mangleValueInTemplateArg(QualType T, const APValue &V) {
|
||||||
|
|
Loading…
Reference in New Issue