summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-01-03 02:14:08 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-01-03 02:14:08 +0000
commit25dc1e1d1953280ea0bf01e34d228e20ff350de5 (patch)
tree7d55ceae94ac8ef8cf2ad124b0033747b2863840 /clang/lib/Sema/SemaChecking.cpp
parentc0550740f07a8994ed6d3a840d47e83375bd291e (diff)
downloadbcm5719-llvm-25dc1e1d1953280ea0bf01e34d228e20ff350de5.tar.gz
bcm5719-llvm-25dc1e1d1953280ea0bf01e34d228e20ff350de5.zip
Removing some more unnecessary manual quotes from attribute diagnostics.
llvm-svn: 198392
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
-rw-r--r--clang/lib/Sema/SemaChecking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp
index cbe19741f24..7e9cea66080 100644
--- a/clang/lib/Sema/SemaChecking.cpp
+++ b/clang/lib/Sema/SemaChecking.cpp
@@ -7423,7 +7423,7 @@ void Sema::CheckArgumentWithTypeTag(const ArgumentWithTypeTagAttr *Attr,
if (mismatch)
Diag(ArgumentExpr->getExprLoc(), diag::warn_type_safety_type_mismatch)
- << ArgumentType << ArgumentKind->getName()
+ << ArgumentType << ArgumentKind
<< TypeInfo.LayoutCompatible << RequiredType
<< ArgumentExpr->getSourceRange()
<< TypeTagExpr->getSourceRange();
OpenPOWER on IntegriCloud