forked from OSchip/llvm-project
parent
3cc6673fd0
commit
253dbad1c9
|
@ -82,7 +82,7 @@ def note_fixit_main_file_unchanged : Note<
|
|||
def warn_fixit_no_changes : Note<
|
||||
"FIX-IT detected errors it could not fix; no output will be generated">;
|
||||
|
||||
def err_fe_clang : Error<"error invoking%s: %s">, DefaultFatal;
|
||||
def err_fe_invoking : Error<"error invoking%0: %1">, DefaultFatal;
|
||||
|
||||
// PCH reader
|
||||
def err_relocatable_without_without_isysroot : Error<
|
||||
|
|
|
@ -1103,7 +1103,7 @@ clang_createTranslationUnitFromSourceFile(CXIndex CIdx,
|
|||
AllArgs += *I;
|
||||
}
|
||||
|
||||
Diags->Report(diag::err_fe_clang) << AllArgs << ErrMsg;
|
||||
Diags->Report(diag::err_fe_invoking) << AllArgs << ErrMsg;
|
||||
}
|
||||
|
||||
ASTUnit *ATU = ASTUnit::LoadFromPCHFile(astTmpFile, *Diags,
|
||||
|
|
|
@ -330,7 +330,7 @@ CXCodeCompleteResults *clang_codeComplete(CXIndex CIdx,
|
|||
AllArgs += *I;
|
||||
}
|
||||
|
||||
Diags->Report(diag::err_fe_clang) << AllArgs << ErrMsg;
|
||||
Diags->Report(diag::err_fe_invoking) << AllArgs << ErrMsg;
|
||||
}
|
||||
|
||||
// Parse the resulting source file to find code-completion results.
|
||||
|
|
Loading…
Reference in New Issue