aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaExceptionSpec.cpp
diff options
context:
space:
mode:
authorFrancois Pichet <pichet2000@gmail.com>2011-04-22 08:25:24 +0000
committerFrancois Pichet <pichet2000@gmail.com>2011-04-22 08:25:24 +0000
commitcf320c6388c90f1938c264e87d77a0e43946e2c3 (patch)
tree9eff53c271c2e960cdb11205c714efdf345b225b /lib/Sema/SemaExceptionSpec.cpp
parent2e510a0c0f7afa7951aa19c65a06c2da579535a8 (diff)
For consistency, change suffix from war_ to warn_ for some Microsoft warnings I introduced lately.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129986 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExceptionSpec.cpp')
-rw-r--r--lib/Sema/SemaExceptionSpec.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Sema/SemaExceptionSpec.cpp b/lib/Sema/SemaExceptionSpec.cpp
index 1512a25789..f1033dc8c2 100644
--- a/lib/Sema/SemaExceptionSpec.cpp
+++ b/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),