authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-02-16 01:45:48-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-02-16 01:45:48-05:00
log5e37fc0746a75ed319fc57ae62d8cc966382c592
tree7032a1e312566e04caeebe8d6f259c62be3df957
parent7f7d1fbe5ad16fd41eeaeb20e3e71a39bdd3f991
signaturelock-open Commit is signed but in an unrecognized format.

more user-friendly error message for some clang diagnostics

See #4455

1 files changed, 1 insertions(+), 1 deletions(-)

src/error.cpp+1-1
......@@ -64,7 +64,7 @@ const char *err_str(Error err) {
6464 case ErrorInvalidCpuFeatures: return "invalid CPU features";
6565 case ErrorInvalidLlvmCpuFeaturesFormat: return "invalid LLVM CPU features format";
6666 case ErrorUnknownApplicationBinaryInterface: return "unknown application binary interface";
67 case ErrorASTUnitFailure: return "ASTUnit failure";
67 case ErrorASTUnitFailure: return "compiler bug: clang encountered a compile error, but the libclang API does not expose the error. See https://github.com/ziglang/zig/issues/4455 for more details";
6868 }
6969 return "(invalid error)";
7070}