Skip to content

Commit f55b6c3

Browse files
committed
Fix
1 parent 948dd7d commit f55b6c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Frontend/CompilerInvocation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4263,7 +4263,7 @@ bool CompilerInvocation::ParseLangArgs(LangOptions &Opts, ArgList &Args,
42634263
<< VulkanEnv << T.getOSName() << T.str();
42644264
}
42654265
} else {
4266-
llvm_unreachable();
4266+
llvm_unreachable("expected DXIL or SPIR-V target");
42674267
}
42684268
} else
42694269
Diags.Report(diag::err_drv_hlsl_unsupported_target) << T.str();

0 commit comments

Comments
 (0)