[cfe-commits] r156348 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/SemaDeclAttr.cpp
Rafael Espindola
rafael.espindola at gmail.com
Mon May 7 17:28:39 PDT 2012
Author: rafael
Date: Mon May 7 19:28:39 2012
New Revision: 156348
URL: http://llvm.org/viewvc/llvm-project?rev=156348&view=rev
Log:
Add missing 'y'.
Modified:
cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
cfe/trunk/lib/Sema/SemaDeclAttr.cpp
Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=156348&r1=156347&r2=156348&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Mon May 7 19:28:39 2012
@@ -1831,7 +1831,7 @@
def warn_attribute_protected_visibility :
Warning<"target does not support 'protected' visibility; using 'default'">,
InGroup<DiagGroup<"unsupported-visibility">>;
-def err_mismatched_visibilit: Error<"visibility does not match previous declaration">;
+def err_mismatched_visibility: Error<"visibility does not match previous declaration">;
def note_previous_attribute : Note<"previous attribute is here">;
def err_unknown_machine_mode : Error<"unknown machine mode %0">;
def err_unsupported_machine_mode : Error<"unsupported machine mode %0">;
Modified: cfe/trunk/lib/Sema/SemaDeclAttr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclAttr.cpp?rev=156348&r1=156347&r2=156348&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclAttr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclAttr.cpp Mon May 7 19:28:39 2012
@@ -1880,7 +1880,7 @@
if (PrevAttr) {
VisibilityAttr::VisibilityType PrevVisibility = PrevAttr->getVisibility();
if (PrevVisibility != type) {
- S.Diag(Attr.getLoc(), diag::err_mismatched_visibilit);
+ S.Diag(Attr.getLoc(), diag::err_mismatched_visibility);
S.Diag(PrevAttr->getLocation(), diag::note_previous_attribute);
return;
}
More information about the cfe-commits
mailing list