From: Benjamin Kramer Date: Mon, 28 Nov 2011 22:17:09 +0000 (+0000) Subject: Add missing equals. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e969445d3ae80f8c6283bd94323223bf26701dc;p=clang Add missing equals. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145290 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Frontend/Warnings.cpp b/lib/Frontend/Warnings.cpp index cc7c48ce48..e63bc21cb4 100644 --- a/lib/Frontend/Warnings.cpp +++ b/lib/Frontend/Warnings.cpp @@ -133,7 +133,7 @@ void clang::ProcessWarningOptions(DiagnosticsEngine &Diags, // Set the warning as error flag for this specifier. Diags.setDiagnosticGroupWarningAsError(Specifier, isPositive); } else if (DiagIDs->getDiagnosticsInGroup(Specifier, _Diags)) { - EmitUnknownDiagWarning(Diags, "-Werror", Specifier, isPositive); + EmitUnknownDiagWarning(Diags, "-Werror=", Specifier, isPositive); } continue; } @@ -161,7 +161,8 @@ void clang::ProcessWarningOptions(DiagnosticsEngine &Diags, // Set the error as fatal flag for this specifier. Diags.setDiagnosticGroupErrorAsFatal(Specifier, isPositive); } else if (DiagIDs->getDiagnosticsInGroup(Specifier, _Diags)) { - EmitUnknownDiagWarning(Diags, "-Wfatal-errors", Specifier, isPositive); + EmitUnknownDiagWarning(Diags, "-Wfatal-errors=", Specifier, + isPositive); } continue; }