summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/FormatString.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/AST/FormatString.cpp')
-rw-r--r--clang/lib/AST/FormatString.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/FormatString.cpp b/clang/lib/AST/FormatString.cpp
index 3c96c80e4cc..fcc0b3b11e2 100644
--- a/clang/lib/AST/FormatString.cpp
+++ b/clang/lib/AST/FormatString.cpp
@@ -389,7 +389,7 @@ ArgType::matchesType(ASTContext &C, QualType argTy) const {
case BuiltinType::UChar:
case BuiltinType::Bool:
if (T == C.UnsignedShortTy || T == C.ShortTy)
- return NoMatchPedantic;
+ return NoMatchTypeConfusion;
return T == C.UnsignedCharTy || T == C.SignedCharTy ? Match
: NoMatch;
case BuiltinType::Short:
OpenPOWER on IntegriCloud