Reinstate my CodeModificationHint -> FixItHint renaming patch, without
the C-only "optimization". llvm-svn: 100022
This commit is contained in:
@@ -210,8 +210,7 @@ bool Sema::CheckEquivalentExceptionSpec(FunctionDecl *Old, FunctionDecl *New) {
|
||||
// late-specified return types.
|
||||
Diag(New->getLocation(), diag::warn_missing_exception_specification)
|
||||
<< New << OS.str()
|
||||
<< CodeModificationHint::CreateInsertion(AfterParenLoc,
|
||||
" " + OS.str().str());
|
||||
<< FixItHint::CreateInsertion(AfterParenLoc, " " + OS.str().str());
|
||||
}
|
||||
|
||||
if (!Old->getLocation().isInvalid())
|
||||
|
||||
Reference in New Issue
Block a user