forked from OSchip/llvm-project
Update error to read a little better when an error occurs.
This commit is contained in:
parent
20d0ab6157
commit
a1469914fd
|
@ -106,7 +106,7 @@ int main(int argc, const char **argv) {
|
|||
llvm::ErrorOr<std::vector<std::string>> AllowedPatterns =
|
||||
GetAllowedSymbolPatterns();
|
||||
if (!AllowedPatterns) {
|
||||
llvm::errs() << "Failed to open Allowed file " << AllowedFile << ". "
|
||||
llvm::errs() << "Failed to open allow file " << AllowedFile << ". "
|
||||
<< AllowedPatterns.getError().message() << "\n";
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue