[cfe-commits] r145290 - /cfe/trunk/lib/Frontend/Warnings.cpp
Benjamin Kramer
benny.kra at googlemail.com
Mon Nov 28 14:17:09 PST 2011
Author: d0k
Date: Mon Nov 28 16:17:09 2011
New Revision: 145290
URL: http://llvm.org/viewvc/llvm-project?rev=145290&view=rev
Log:
Add missing equals.
Modified:
cfe/trunk/lib/Frontend/Warnings.cpp
Modified: cfe/trunk/lib/Frontend/Warnings.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/Warnings.cpp?rev=145290&r1=145289&r2=145290&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/Warnings.cpp (original)
+++ cfe/trunk/lib/Frontend/Warnings.cpp Mon Nov 28 16:17:09 2011
@@ -133,7 +133,7 @@
// 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 @@
// 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;
}
More information about the cfe-commits
mailing list