aboutsummaryrefslogtreecommitdiff
path: root/Sema/SemaExpr.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-02-01 22:44:48 +0000
committerSteve Naroff <snaroff@apple.com>2008-02-01 22:44:48 +0000
commitc0ff1caab20f13e99cd94e4263ba3e625e1aae92 (patch)
tree20104bb569400bd79bd477ed5d87acf4e767dcfa /Sema/SemaExpr.cpp
parentbe4b3332c2d17c03af6d015d9e8e2cc524806e6e (diff)
Rename diagnostic to reflect it's role...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46650 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Sema/SemaExpr.cpp')
-rw-r--r--Sema/SemaExpr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sema/SemaExpr.cpp b/Sema/SemaExpr.cpp
index 278c07fc14..4c8a1d953f 100644
--- a/Sema/SemaExpr.cpp
+++ b/Sema/SemaExpr.cpp
@@ -820,7 +820,7 @@ inline QualType Sema::CheckConditionalOperands( // C99 6.5.15
if (!Context.typesAreCompatible(lhptee.getUnqualifiedType(),
rhptee.getUnqualifiedType())) {
- Diag(questionLoc, diag::ext_typecheck_cond_incompatible_pointers,
+ Diag(questionLoc, diag::warn_typecheck_cond_incompatible_pointers,
lexT.getAsString(), rexT.getAsString(),
lex->getSourceRange(), rex->getSourceRange());
// In this situation, we assume void* type. No especially good