summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/PrintfFormatString.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-10-17 18:09:15 +0000
committerJohn McCall <rjmccall@apple.com>2011-10-17 18:09:15 +0000
commit8a6b59ad97a1ed84daac9d14605521ba36ccd8dd (patch)
tree044c58f41c1960215163f83755823effcd45c7f5 /clang/lib/Analysis/PrintfFormatString.cpp
parent73081309c3a219ba091bc261bf5f83d86b4aeacd (diff)
downloadbcm5719-llvm-8a6b59ad97a1ed84daac9d14605521ba36ccd8dd.tar.gz
bcm5719-llvm-8a6b59ad97a1ed84daac9d14605521ba36ccd8dd.zip
Add a new placeholder type to represent "unbridged"
casts in ARC. No semantic analysis yet. llvm-svn: 142208
Diffstat (limited to 'clang/lib/Analysis/PrintfFormatString.cpp')
-rw-r--r--clang/lib/Analysis/PrintfFormatString.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Analysis/PrintfFormatString.cpp b/clang/lib/Analysis/PrintfFormatString.cpp
index 46ece65a42e..0c0e3433314 100644
--- a/clang/lib/Analysis/PrintfFormatString.cpp
+++ b/clang/lib/Analysis/PrintfFormatString.cpp
@@ -400,6 +400,7 @@ bool PrintfSpecifier::fixType(QualType QT) {
case BuiltinType::Overload:
case BuiltinType::BoundMember:
case BuiltinType::UnknownAny:
+ case BuiltinType::ARCUnbridgedCast:
// Misc other stuff which doesn't make sense here.
return false;
OpenPOWER on IntegriCloud