forked from OSchip/llvm-project
Removing some manual quotes from this diagnostic, since the AST diagnostics engine knows how to handle NamedDecl objects.
llvm-svn: 198365
This commit is contained in:
parent
9a26f2986c
commit
44ebc079b9
|
@ -1967,7 +1967,7 @@ def err_attribute_aligned_not_power_of_two : Error<
|
|||
def err_attribute_aligned_greater_than_8192 : Error<
|
||||
"requested alignment must be 8192 bytes or smaller">;
|
||||
def warn_redeclaration_without_attribute_prev_attribute_ignored : Warning<
|
||||
"'%0' redeclared without %1 attribute: previous %1 ignored">;
|
||||
"%0 redeclared without %1 attribute: previous %1 ignored">;
|
||||
def warn_attribute_ignored : Warning<"%0 attribute ignored">,
|
||||
InGroup<IgnoredAttributes>;
|
||||
def warn_attribute_after_definition_ignored : Warning<
|
||||
|
|
|
@ -9687,7 +9687,7 @@ Decl *Sema::ActOnStartOfFunctionDef(Scope *FnBodyScope, Decl *D) {
|
|||
// emitted.
|
||||
Diag(FD->getLocation(),
|
||||
diag::warn_redeclaration_without_attribute_prev_attribute_ignored)
|
||||
<< FD->getName() << DA;
|
||||
<< FD << DA;
|
||||
}
|
||||
}
|
||||
// We want to attach documentation to original Decl (which might be
|
||||
|
|
Loading…
Reference in New Issue