forked from OSchip/llvm-project
Removing some more unnecessary manual quotes from attribute diagnostics.
llvm-svn: 198392
This commit is contained in:
parent
c0550740f0
commit
25dc1e1d19
|
@ -6269,7 +6269,7 @@ def warn_type_tag_for_datatype_wrong_kind : Warning<
|
|||
"this type tag was not designed to be used with this function">,
|
||||
InGroup<TypeSafety>;
|
||||
def warn_type_safety_type_mismatch : Warning<
|
||||
"argument type %0 doesn't match specified '%1' type tag "
|
||||
"argument type %0 doesn't match specified %1 type tag "
|
||||
"%select{that requires %3|}2">, InGroup<TypeSafety>;
|
||||
def warn_type_safety_null_pointer_required : Warning<
|
||||
"specified %0 type tag requires a null pointer">, InGroup<TypeSafety>;
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue