From 9392165a1734cdc89fc58f30dd880a10c176127f Mon Sep 17 00:00:00 2001 From: Francois Pichet Date: Fri, 22 Apr 2011 08:25:24 +0000 Subject: For consistency, change suffix from war_ to warn_ for some Microsoft warnings I introduced lately. llvm-svn: 129986 --- clang/lib/Sema/SemaExceptionSpec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/lib/Sema/SemaExceptionSpec.cpp') diff --git a/clang/lib/Sema/SemaExceptionSpec.cpp b/clang/lib/Sema/SemaExceptionSpec.cpp index 1512a257897..f1033dc8c2f 100644 --- a/clang/lib/Sema/SemaExceptionSpec.cpp +++ b/clang/lib/Sema/SemaExceptionSpec.cpp @@ -102,7 +102,7 @@ bool Sema::CheckEquivalentExceptionSpec(FunctionDecl *Old, FunctionDecl *New) { bool MissingEmptyExceptionSpecification = false; unsigned DiagID = diag::err_mismatched_exception_spec; if (getLangOptions().Microsoft) - DiagID = diag::war_mismatched_exception_spec; + DiagID = diag::warn_mismatched_exception_spec; if (!CheckEquivalentExceptionSpec(PDiag(DiagID), PDiag(diag::note_previous_declaration), @@ -265,7 +265,7 @@ bool Sema::CheckEquivalentExceptionSpec( const FunctionProtoType *New, SourceLocation NewLoc) { unsigned DiagID = diag::err_mismatched_exception_spec; if (getLangOptions().Microsoft) - DiagID = diag::war_mismatched_exception_spec; + DiagID = diag::warn_mismatched_exception_spec; return CheckEquivalentExceptionSpec( PDiag(DiagID), PDiag(diag::note_previous_declaration), -- cgit v1.2.3