summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseExpr.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-02-18 04:42:38 +0000
committerTed Kremenek <kremenek@apple.com>2012-02-18 04:42:38 +0000
commit084e1b48a1767d37e3f5112ae1ecfab422d205b4 (patch)
treec823b3cd9f64df101e4fe445673c304afd801bd4 /clang/lib/Parse/ParseExpr.cpp
parentb54950bef4aa209eca79eb065f0d9aef43705de0 (diff)
downloadbcm5719-llvm-084e1b48a1767d37e3f5112ae1ecfab422d205b4.tar.gz
bcm5719-llvm-084e1b48a1767d37e3f5112ae1ecfab422d205b4.zip
Change wording of warning about using __bridge casts in non-ARC.
llvm-svn: 150868
Diffstat (limited to 'clang/lib/Parse/ParseExpr.cpp')
-rw-r--r--clang/lib/Parse/ParseExpr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseExpr.cpp b/clang/lib/Parse/ParseExpr.cpp
index 75510ad440a..fada2e319c5 100644
--- a/clang/lib/Parse/ParseExpr.cpp
+++ b/clang/lib/Parse/ParseExpr.cpp
@@ -1866,7 +1866,7 @@ Parser::ParseParenExpression(ParenParseOption &ExprType, bool stopIfCastExpr,
StringRef BridgeCastName = Tok.getName();
SourceLocation BridgeKeywordLoc = ConsumeToken();
if (!PP.getSourceManager().isInSystemHeader(BridgeKeywordLoc))
- Diag(BridgeKeywordLoc, diag::err_arc_bridge_cast_nonarc)
+ Diag(BridgeKeywordLoc, diag::warn_arc_bridge_cast_nonarc)
<< BridgeCastName
<< FixItHint::CreateReplacement(BridgeKeywordLoc, "");
BridgeCast = false;
OpenPOWER on IntegriCloud